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