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

Unified Diff: webrtc/video_receive_stream.h

Issue 1273363005: Add send transports to individual webrtc::Call streams. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase+comment Created 5 years, 4 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 | « webrtc/video/video_send_stream_tests.cc ('k') | webrtc/video_send_stream.h » ('j') | 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 95253366d358b749a204f99be9fb7fb2db919f61..e6130064125b5e386d1c65a23429bdb6bcd021bb 100644
--- a/webrtc/video_receive_stream.h
+++ b/webrtc/video_receive_stream.h
@@ -86,6 +86,10 @@ class VideoReceiveStream : public ReceiveStream {
};
struct Config {
+ Config() = delete;
+ explicit Config(newapi::Transport* rtcp_send_transport)
+ : rtcp_send_transport(rtcp_send_transport) {}
+
std::string ToString() const;
// Decoders for every payload that we can receive.
@@ -137,6 +141,9 @@ class VideoReceiveStream : public ReceiveStream {
std::vector<RtpExtension> extensions;
} rtp;
+ // Transport for outgoing packets (RTCP).
+ newapi::Transport* rtcp_send_transport = nullptr;
+
// VideoRenderer will be called for each decoded frame. 'nullptr' disables
// rendering of this stream.
VideoRenderer* renderer = nullptr;
« no previous file with comments | « webrtc/video/video_send_stream_tests.cc ('k') | webrtc/video_send_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698