pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

pjmedia_sdp_media Struct Reference
[SDP Parsing and Data Structure]


Detailed Description

This structure describes SDP media descriptor. A SDP media descriptor starts with "m=" line and contains the media attributes and optional connection line.

Data Fields

struct {
   pj_str_t   media
   pj_uint16_t   port
   unsigned   port_count
   pj_str_t   transport
   unsigned   fmt_count
   pj_str_t   fmt [32]
desc
pjmedia_sdp_connconn
unsigned attr_count
pjmedia_sdp_attrattr [(32 *2+4)]

Field Documentation

Media type ("audio", "video")

Port count, used only when >2

Transport ("RTP/AVP")

Number of formats.

Media formats.

struct { ... } pjmedia_sdp_media::desc

Media descriptor line ("m=" line)

Optional connection info.

Number of attributes.

Attributes.


The documentation for this struct was generated from the following file:

 


PJMEDIA small footprint Open Source media stack
(C)2003-2008 Benny Prijono