Index: webrtc/video_receive_stream.h |
diff --git a/webrtc/video_receive_stream.h b/webrtc/video_receive_stream.h |
index 7d97a29c6926da638e175f918aa540ed6b9cebfd..87d70af49fb46886c2073255dd0c40d9e84c685a 100644 |
--- a/webrtc/video_receive_stream.h |
+++ b/webrtc/video_receive_stream.h |
@@ -156,6 +156,15 @@ class VideoReceiveStream { |
typedef std::map<int, Rtx> RtxMap; |
RtxMap rtx; |
+ // TODO(brandtr): Remove this member function when internal project has |
+ // been updated. |
+ void AddRtxInfo(int media_pt, int rtx_pt, uint32_t rtx_ssrc) { |
+ Rtx r; |
+ r.ssrc = rtx_ssrc; |
+ r.payload_type = rtx_pt; |
+ rtx[media_pt] = r; |
+ } |
+ |
// RTP header extensions used for the received stream. |
std::vector<RtpExtension> extensions; |
} rtp; |