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 267382 bf9d78b76e92a41c6ff4855e6543030d7fefb7f5
parent 267381 4e0062607d5a41307a9a6376aff4b242a774d4aa
child 267383 391aa543ea6f1f210985242f6815b9e12a587109
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup, sylvestre
bugs1161317
milestone39.0a2
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
@@ -1279,17 +1279,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;
   }
 }