WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

stream_common.h File Reference

Stream common functions. More...

Data Structures

struct  pjmedia_stream_rtp_sess_info
 
struct  pjmedia_stream_ka_config
 

Functions

void pjmedia_stream_ka_config_default (pjmedia_stream_ka_config *cfg)
 
pj_status_t pjmedia_stream_info_parse_fmtp (pj_pool_t *pool, const pjmedia_sdp_media *m, unsigned pt, pjmedia_codec_fmtp *fmtp)
 

Function Documentation

◆ pjmedia_stream_ka_config_default()

void pjmedia_stream_ka_config_default ( pjmedia_stream_ka_config cfg)

Initialize the stream send keep-alive with default settings.

Parameters
cfgStream send keep-alive structure to be initialized.

◆ pjmedia_stream_info_parse_fmtp()

pj_status_t pjmedia_stream_info_parse_fmtp ( pj_pool_t pool,
const pjmedia_sdp_media m,
unsigned  pt,
pjmedia_codec_fmtp fmtp 
)

This is internal function for parsing SDP format parameter of specific format or payload type, used by stream in generating stream info from SDP.

Parameters
poolPool to allocate memory, if pool is NULL, the fmtp string pointers will point to the original string in the SDP media descriptor.
mThe SDP media containing the format parameter to be parsed.
ptThe format or payload type.
fmtpThe format parameter to store the parsing result.
Returns
PJ_SUCCESS on success.

References PJ_END_DECL.

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.