34 #ifndef OPAL_RTP_RTP_H
35 #define OPAL_RTP_RTP_H
43 #include <ptclib/url.h>
93 void Reset(PINDEX size);
187 void SetFbType(
unsigned type, PINDEX fciSize);
250 RTP_DataFrame(PINDEX payloadSize = 0, PINDEX bufferSize = 0);
251 RTP_DataFrame(
const BYTE * data, PINDEX len,
bool dynamic =
true);
307 bool GetMarker()
const {
return (theArray[1]&0x80) != 0; }
311 void SetPadding(
bool v) {
if (v) theArray[0] |= 0x20;
else theArray[0] &= 0xdf; }
386 virtual void PrintOn(ostream & strm)
const;
447 virtual Comparison Compare(
const PObject & other)
const;
450 bool ParseSDP(
const PString & param);
451 void OutputSDP(ostream & strm)
const;
458 #endif // OPAL_RTP_RTP_H