Index: webrtc/pc/rtptransport.cc |
diff --git a/webrtc/pc/rtptransport.cc b/webrtc/pc/rtptransport.cc |
index ac57eb887bc690c3fadd8bd793c24ba3629245f8..b26783260f0436baa1bf68e2f86221a99ef2c18b 100644 |
--- a/webrtc/pc/rtptransport.cc |
+++ b/webrtc/pc/rtptransport.cc |
@@ -76,6 +76,18 @@ bool RtpTransport::IsWritable(bool rtcp) const { |
return transport && transport->writable(); |
} |
+bool RtpTransport::SendRtpPacket(rtc::CopyOnWriteBuffer* packet, |
+ const rtc::PacketOptions& options, |
+ int flags) { |
+ return SendPacket(false, packet, options, flags); |
+} |
+ |
+bool RtpTransport::SendRtcpPacket(rtc::CopyOnWriteBuffer* packet, |
+ const rtc::PacketOptions& options, |
+ int flags) { |
+ return SendPacket(true, packet, options, flags); |
+} |
+ |
bool RtpTransport::SendPacket(bool rtcp, |
rtc::CopyOnWriteBuffer* packet, |
const rtc::PacketOptions& options, |