Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: webrtc/video_receive_stream.h

Issue 2655243006: Add temporary AddRtxInfo member function to VideoReceiveStream::Config. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698