32 #ifndef OPAL_SIP_SDP_H
33 #define OPAL_SIP_SDP_H
53 #define OPAL_OPT_OFFER_SDP_PTIME "Offer-SDP-PTime"
62 #define OPAL_OPT_OFFER_RTCP_FB "Offer-RTCP-FB"
68 #define OPAL_OPT_FORCE_RTCP_FB "Force-RTCP-FB"
73 class SDPBandwidth :
public std::map<PCaselessString, OpalBandwidth>
75 typedef std::map<PCaselessString, OpalBandwidth> BaseClass;
80 bool Parse(
const PString & param);
95 const char * name = NULL
103 virtual void PrintOn(ostream & str)
const;
111 void SetFMTP(
const PString & _fmtp);
182 virtual void SetAttribute(
const PString & attr,
const PString & value);
211 virtual bool Decode(
const PStringArray & tokens);
212 virtual bool Decode(
char key,
const PString & value);
234 virtual void SetAttribute(
const PString & attr,
const PString & value);
253 virtual OpalVideoFormat::ContentRole
GetContentRole()
const {
return OpalVideoFormat::eNoRole; }
289 PStringArray m_tokens;
304 PStringArray m_tokens;
317 bool Decode(
const PString & attrib);
318 void PrintOn(ostream & strm)
const;
354 virtual bool Decode(
const PStringArray & tokens);
362 virtual void SetAttribute(
const PString & attr,
const PString & value);
386 virtual void SetAttribute(
const PString & attr,
const PString & value);
410 virtual void SetAttribute(
const PString & attr,
const PString & value);
449 void PrintOn(ostream & strm)
const;
504 #endif // OPAL_SIP_SDP_H