Home --> Documentations --> PJMEDIA Reference

stream_common.h File Reference

Stream common functions. More...

Data Structures

struct  pjmedia_stream_rtp_sess_info


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_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.

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.
PJ_SUCCESS on success.


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