Bug 1161317: Fix bug where sendonly video RTCP would be treated as outgoing RTP r=jesup a=sylvestre
authorByron Campen [:bwc] <docfaraday@gmail.com>
Tue, 05 May 2015 02:51:18 -0400
changeset 260431 62ee103ccbbe
parent 260430 124857c54a1b
child 260433 20872d739a18
push id780
push userrjesup@wgate.com
push date2015-05-08 16:17 +0000
treeherdermozilla-release@62ee103ccbbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup, sylvestre
bugs1161317
milestone38.0
Bug 1161317: Fix bug where sendonly video RTCP would be treated as outgoing RTP r=jesup a=sylvestre
media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
--- a/media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
+++ b/media/webrtc/signaling/src/media-conduit/VideoConduit.cpp
@@ -1266,17 +1266,17 @@ int WebrtcVideoConduit::SendRTCPPacket(i
   ReentrantMonitorAutoEnter enter(mTransportMonitor);
   if(mReceiverTransport &&
      mReceiverTransport->SendRtcpPacket(data, len) == NS_OK)
   {
     // Might be a sender report, might be a receiver report, we don't know.
     CSFLogDebug(logTag, "%s Sent RTCP Packet ", __FUNCTION__);
     return len;
   } else if(mTransmitterTransport &&
-            (mTransmitterTransport->SendRtpPacket(data, len) == NS_OK)) {
+            (mTransmitterTransport->SendRtcpPacket(data, len) == NS_OK)) {
       CSFLogDebug(logTag, "%s Sent RTCP Packet (sender report) ", __FUNCTION__);
       return len;
   } else {
     CSFLogError(logTag, "%s RTCP Packet Send Failed ", __FUNCTION__);
     return -1;
   }
 }