diff --git a/webrtc/call/video_receive_stream.h b/webrtc/call/video_receive_stream.h index 6e943827e8..bd4b9976f6 100644 --- a/webrtc/call/video_receive_stream.h +++ b/webrtc/call/video_receive_stream.h @@ -171,7 +171,11 @@ class VideoReceiveStream { // Map from video payload type (apt) -> RTX payload type (pt). // For RTX to be enabled, both an SSRC and this mapping are needed. std::map rtx_payload_types; - + // TODO(nisse): This is a temporary accessor function to enable + // reversing and renaming of the rtx_payload_types mapping. + void AddRtxBinding(int rtx_payload_type, int media_payload_type) { + rtx_payload_types[media_payload_type] = rtx_payload_type; + } // RTP header extensions used for the received stream. std::vector extensions; } rtp;