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);
183 virtual void SetAttribute(
const PString & attr,
const PString & value);
212 virtual bool Decode(
const PStringArray & tokens);
213 virtual bool Decode(
char key,
const PString & value);
235 virtual void SetAttribute(
const PString & attr,
const PString & value);
254 virtual OpalVideoFormat::ContentRole
GetContentRole()
const {
return OpalVideoFormat::eNoRole; }
290 PStringArray m_tokens;
305 PStringArray m_tokens;
318 bool Decode(
const PString & attrib);
319 void PrintOn(ostream & strm)
const;
355 virtual bool Decode(
const PStringArray & tokens);
363 virtual void SetAttribute(
const PString & attr,
const PString & value);
387 virtual void SetAttribute(
const PString & attr,
const PString & value);
411 virtual void SetAttribute(
const PString & attr,
const PString & value);
450 virtual void PrintOn(ostream & strm)
const;
451 virtual PString
Encode()
const;
505 #endif // OPAL_SIP_SDP_H