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

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

Issue 2535173008: Clean up FlexfecReceiveStream ctor signatures. (CL0) (Closed)
Patch Set: Rebase. Created 4 years 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') | no next file with comments »
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 virtual FlexfecReceiveStream* CreateFlexfecReceiveStream( 122 virtual FlexfecReceiveStream* CreateFlexfecReceiveStream(
123 FlexfecReceiveStream::Config configuration) = 0; 123 const FlexfecReceiveStream::Config& config) = 0;
124 virtual void DestroyFlexfecReceiveStream( 124 virtual void DestroyFlexfecReceiveStream(
125 FlexfecReceiveStream* receive_stream) = 0; 125 FlexfecReceiveStream* receive_stream) = 0;
126 126
127 // All received RTP and RTCP packets for the call should be inserted to this 127 // 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 128 // PacketReceiver. The PacketReceiver pointer is valid as long as the
129 // Call instance exists. 129 // Call instance exists.
130 virtual PacketReceiver* Receiver() = 0; 130 virtual PacketReceiver* Receiver() = 0;
131 131
132 // Returns the call statistics, such as estimated send and receive bandwidth, 132 // Returns the call statistics, such as estimated send and receive bandwidth,
133 // pacing delay, etc. 133 // pacing delay, etc.
(...skipping 22 matching lines...) Expand all
156 const rtc::NetworkRoute& network_route) = 0; 156 const rtc::NetworkRoute& network_route) = 0;
157 157
158 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; 158 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0;
159 159
160 virtual ~Call() {} 160 virtual ~Call() {}
161 }; 161 };
162 162
163 } // namespace webrtc 163 } // namespace webrtc
164 164
165 #endif // WEBRTC_CALL_CALL_H_ 165 #endif // WEBRTC_CALL_CALL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698