| Index: webrtc/modules/rtp_rtcp/source/rtcp_packet.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc b/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc
|
| index 4af3292659405aeac4dc480fa4abbd96e008cc1f..1e658bbc7867e2e0676d13c5d26a008f5f2089e1 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc
|
| @@ -249,30 +249,6 @@ void CreateBye(const RTCPPacketBYE& bye,
|
| AssignUWord32(buffer, pos, csrc);
|
| }
|
|
|
| -// Application-Defined packet (APP) (RFC 3550).
|
| -//
|
| -// 0 1 2 3
|
| -// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
| -// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
| -// |V=2|P| subtype | PT=APP=204 | length |
|
| -// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
| -// | SSRC/CSRC |
|
| -// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
| -// | name (ASCII) |
|
| -// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
| -// | application-dependent data ...
|
| -// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
| -
|
| -void CreateApp(const RTCPPacketAPP& app,
|
| - uint32_t ssrc,
|
| - uint8_t* buffer,
|
| - size_t* pos) {
|
| - AssignUWord32(buffer, pos, ssrc);
|
| - AssignUWord32(buffer, pos, app.Name);
|
| - memcpy(buffer + *pos, app.Data, app.Size);
|
| - *pos += app.Size;
|
| -}
|
| -
|
| // RFC 4585: Feedback format.
|
| //
|
| // Common packet format:
|
| @@ -893,19 +869,6 @@ bool Bye::WithCsrc(uint32_t csrc) {
|
| return true;
|
| }
|
|
|
| -bool App::Create(uint8_t* packet,
|
| - size_t* index,
|
| - size_t max_length,
|
| - RtcpPacket::PacketReadyCallback* callback) const {
|
| - while (*index + BlockLength() > max_length) {
|
| - if (!OnBufferFull(packet, index, callback))
|
| - return false;
|
| - }
|
| - CreateHeader(app_.SubType, PT_APP, HeaderLength(), packet, index);
|
| - CreateApp(app_, ssrc_, packet, index);
|
| - return true;
|
| -}
|
| -
|
| bool Pli::Create(uint8_t* packet,
|
| size_t* index,
|
| size_t max_length,
|
|
|