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

Side by Side Diff: webrtc/call.h

Issue 2042603002: Movable support for VideoReceiveStream::Config and avoid copies (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add TODO Created 4 years, 6 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/bitrate_estimator_tests.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_H_ 10 #ifndef WEBRTC_CALL_H_
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const AudioReceiveStream::Config& config) = 0; 107 const AudioReceiveStream::Config& config) = 0;
108 virtual void DestroyAudioReceiveStream( 108 virtual void DestroyAudioReceiveStream(
109 AudioReceiveStream* receive_stream) = 0; 109 AudioReceiveStream* receive_stream) = 0;
110 110
111 virtual VideoSendStream* CreateVideoSendStream( 111 virtual VideoSendStream* CreateVideoSendStream(
112 const VideoSendStream::Config& config, 112 const VideoSendStream::Config& config,
113 const VideoEncoderConfig& encoder_config) = 0; 113 const VideoEncoderConfig& encoder_config) = 0;
114 virtual void DestroyVideoSendStream(VideoSendStream* send_stream) = 0; 114 virtual void DestroyVideoSendStream(VideoSendStream* send_stream) = 0;
115 115
116 virtual VideoReceiveStream* CreateVideoReceiveStream( 116 virtual VideoReceiveStream* CreateVideoReceiveStream(
117 const VideoReceiveStream::Config& config) = 0; 117 VideoReceiveStream::Config configuration) = 0;
118 virtual void DestroyVideoReceiveStream( 118 virtual void DestroyVideoReceiveStream(
119 VideoReceiveStream* receive_stream) = 0; 119 VideoReceiveStream* receive_stream) = 0;
120 120
121 // All received RTP and RTCP packets for the call should be inserted to this 121 // All received RTP and RTCP packets for the call should be inserted to this
122 // PacketReceiver. The PacketReceiver pointer is valid as long as the 122 // PacketReceiver. The PacketReceiver pointer is valid as long as the
123 // Call instance exists. 123 // Call instance exists.
124 virtual PacketReceiver* Receiver() = 0; 124 virtual PacketReceiver* Receiver() = 0;
125 125
126 // Returns the call statistics, such as estimated send and receive bandwidth, 126 // Returns the call statistics, such as estimated send and receive bandwidth,
127 // pacing delay, etc. 127 // pacing delay, etc.
(...skipping 18 matching lines...) Expand all
146 const rtc::NetworkRoute& network_route) = 0; 146 const rtc::NetworkRoute& network_route) = 0;
147 147
148 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; 148 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0;
149 149
150 virtual ~Call() {} 150 virtual ~Call() {}
151 }; 151 };
152 152
153 } // namespace webrtc 153 } // namespace webrtc
154 154
155 #endif // WEBRTC_CALL_H_ 155 #endif // WEBRTC_CALL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/bitrate_estimator_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698