37 #ifndef RTCPBYEPACKET_H 39 #define RTCPBYEPACKET_H 51 class RTCPCompoundPacket;
68 int GetSSRCCount()
const;
76 bool HasReasonForLeaving()
const;
79 std::size_t GetReasonLength()
const;
95 return (
int) (hdr->
count);
103 return m_endian.qToHost(*ssrc);
110 if (reasonoffset == 0)
119 if (reasonoffset == 0)
121 uint8_t *reasonlen = (data + reasonoffset);
122 return (std::size_t)(*reasonlen);
129 if (reasonoffset == 0)
131 uint8_t *reasonlen = (data + reasonoffset);
132 if ((*reasonlen) == 0)
134 return (data + reasonoffset + 1);
139 #endif // RTCPBYEPACKET_H
uint8_t * GetReasonData()
uint32_t GetSSRC(int index) const
std::size_t GetReasonLength() const
bool HasReasonForLeaving() const