Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1739)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_packet.cc

Issue 1309833002: Send RTCP packets via RtcpPacket callback (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Send RTCP messags directly via callback, refactoring, rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d25a754f415215998f9c5a4be26d895b0587278f..86b040fb00d45bbc5d0d292645214409fee7180f 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_packet.cc
@@ -685,11 +685,6 @@ rtc::scoped_ptr<RawPacket> RtcpPacket::Build() const {
return packet;
}
-bool RtcpPacket::Build(PacketReadyCallback* callback) const {
- uint8_t buffer[IP_PACKET_SIZE];
- return BuildExternalBuffer(buffer, IP_PACKET_SIZE, callback);
-}
-
bool RtcpPacket::BuildExternalBuffer(uint8_t* buffer,
size_t max_length,
PacketReadyCallback* callback) const {

Powered by Google App Engine
This is Rietveld 408576698