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

Side by Side Diff: webrtc/call/call.h

Issue 2649973005: Inform jitter buffer about FlexFEC protection. (Closed)
Patch Set: Take 2. 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/call/call.cc » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #ifndef WEBRTC_CALL_CALL_H_ 10 #ifndef WEBRTC_CALL_CALL_H_
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual VideoSendStream* CreateVideoSendStream( 112 virtual VideoSendStream* CreateVideoSendStream(
113 VideoSendStream::Config config, 113 VideoSendStream::Config config,
114 VideoEncoderConfig encoder_config) = 0; 114 VideoEncoderConfig encoder_config) = 0;
115 virtual void DestroyVideoSendStream(VideoSendStream* send_stream) = 0; 115 virtual void DestroyVideoSendStream(VideoSendStream* send_stream) = 0;
116 116
117 virtual VideoReceiveStream* CreateVideoReceiveStream( 117 virtual VideoReceiveStream* CreateVideoReceiveStream(
118 VideoReceiveStream::Config configuration) = 0; 118 VideoReceiveStream::Config configuration) = 0;
119 virtual void DestroyVideoReceiveStream( 119 virtual void DestroyVideoReceiveStream(
120 VideoReceiveStream* receive_stream) = 0; 120 VideoReceiveStream* receive_stream) = 0;
121 121
122 // In order for a created VideoReceiveStream to be aware that it is
123 // protected by a FlexfecReceiveStream, the latter should be created before
124 // the former.
122 virtual FlexfecReceiveStream* CreateFlexfecReceiveStream( 125 virtual FlexfecReceiveStream* CreateFlexfecReceiveStream(
123 const FlexfecReceiveStream::Config& config) = 0; 126 const FlexfecReceiveStream::Config& config) = 0;
124 virtual void DestroyFlexfecReceiveStream( 127 virtual void DestroyFlexfecReceiveStream(
125 FlexfecReceiveStream* receive_stream) = 0; 128 FlexfecReceiveStream* receive_stream) = 0;
126 129
127 // All received RTP and RTCP packets for the call should be inserted to this 130 // All received RTP and RTCP packets for the call should be inserted to this
128 // PacketReceiver. The PacketReceiver pointer is valid as long as the 131 // PacketReceiver. The PacketReceiver pointer is valid as long as the
129 // Call instance exists. 132 // Call instance exists.
130 virtual PacketReceiver* Receiver() = 0; 133 virtual PacketReceiver* Receiver() = 0;
131 134
(...skipping 24 matching lines...) Expand all
156 const rtc::NetworkRoute& network_route) = 0; 159 const rtc::NetworkRoute& network_route) = 0;
157 160
158 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; 161 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0;
159 162
160 virtual ~Call() {} 163 virtual ~Call() {}
161 }; 164 };
162 165
163 } // namespace webrtc 166 } // namespace webrtc
164 167
165 #endif // WEBRTC_CALL_CALL_H_ 168 #endif // WEBRTC_CALL_CALL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/call.cc » ('j') | webrtc/media/engine/webrtcvideoengine2.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698