Represents a session-level general attribute or media-level general attribute in an SDP message. MCC_SDP_ATTRIBUTE represents:
A session-level general attribute, when it is used as a parameter in the MCC_SDP structure.
A media-level general attribute, when it is used as a parameter in the MCC_SDP_MEDIA structure.
When an SDP message contains multiple attributes of the same type (session-level or media-level), they are represented by a linked list of MCC_SDP_ATTRIBUTE structures.
Note: Rtpmap attributes are represented by the MCC_SDP_RTPMAP structure instead of the MCC_SDP_ATTRIBUTE structure.
typedef struct _MCC_SDP_ATTRIBUTE
{
struct _MCC_SDP_ATTRIBUTE * next;
const char * name;
const char * value;
} MCC_SDP_ATTRIBUTE;
Field |
Type |
Description |
SDP field |
Required/ |
next |
MCC_SDP_ATTRIBUTE |
Pointer to the next attribute in the linked list, if available. |
a |
Optional |
name |
const char |
Attribute name. |
a |
Required |
value |
const char |
Attribute value. |
a |
Optional |