Add temporary AddRtxInfo member function to VideoReceiveStream::Config.

BUG=webrtc:7011

Review-Url: https://codereview.webrtc.org/2655243006
Cr-Commit-Position: refs/heads/master@{#16315}
This commit is contained in:
brandtr 2017-01-27 01:50:12 -08:00 committed by Commit bot
parent 8351d4a8d0
commit 54a05b2084

View File

@ -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;