summaryrefslogtreecommitdiffstats
path: root/dom/media/webrtc/jsapi/RTCRtpReceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/webrtc/jsapi/RTCRtpReceiver.cpp')
-rw-r--r--dom/media/webrtc/jsapi/RTCRtpReceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/media/webrtc/jsapi/RTCRtpReceiver.cpp b/dom/media/webrtc/jsapi/RTCRtpReceiver.cpp
index efe83fb782..96db9fc312 100644
--- a/dom/media/webrtc/jsapi/RTCRtpReceiver.cpp
+++ b/dom/media/webrtc/jsapi/RTCRtpReceiver.cpp
@@ -709,9 +709,9 @@ void RTCRtpReceiver::UpdateTransport() {
// Add unique payload types as a last-ditch fallback
auto uniquePts = GetJsepTransceiver()
.mRecvTrack.GetNegotiatedDetails()
- ->GetUniquePayloadTypes();
+ ->GetUniqueReceivePayloadTypes();
for (unsigned char& uniquePt : uniquePts) {
- filter->AddUniquePT(uniquePt);
+ filter->AddUniqueReceivePT(uniquePt);
}
}