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

Side by Side Diff: webrtc/call.h

Issue 2060403002: Add task queue to Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@move_getpadding
Patch Set: Rebased Created 4 years, 5 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/BUILD.gn » ('j') | webrtc/call/call.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_H_ 10 #ifndef WEBRTC_CALL_H_
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual AudioSendStream* CreateAudioSendStream( 104 virtual AudioSendStream* CreateAudioSendStream(
105 const AudioSendStream::Config& config) = 0; 105 const AudioSendStream::Config& config) = 0;
106 virtual void DestroyAudioSendStream(AudioSendStream* send_stream) = 0; 106 virtual void DestroyAudioSendStream(AudioSendStream* send_stream) = 0;
107 107
108 virtual AudioReceiveStream* CreateAudioReceiveStream( 108 virtual AudioReceiveStream* CreateAudioReceiveStream(
109 const AudioReceiveStream::Config& config) = 0; 109 const AudioReceiveStream::Config& config) = 0;
110 virtual void DestroyAudioReceiveStream( 110 virtual void DestroyAudioReceiveStream(
111 AudioReceiveStream* receive_stream) = 0; 111 AudioReceiveStream* receive_stream) = 0;
112 112
113 virtual VideoSendStream* CreateVideoSendStream( 113 virtual VideoSendStream* CreateVideoSendStream(
114 const VideoSendStream::Config& config, 114 VideoSendStream::Config config,
115 const VideoEncoderConfig& encoder_config) = 0; 115 VideoEncoderConfig encoder_config) = 0;
116 virtual void DestroyVideoSendStream(VideoSendStream* send_stream) = 0; 116 virtual void DestroyVideoSendStream(VideoSendStream* send_stream) = 0;
117 117
118 virtual VideoReceiveStream* CreateVideoReceiveStream( 118 virtual VideoReceiveStream* CreateVideoReceiveStream(
119 VideoReceiveStream::Config configuration) = 0; 119 VideoReceiveStream::Config configuration) = 0;
120 virtual void DestroyVideoReceiveStream( 120 virtual void DestroyVideoReceiveStream(
121 VideoReceiveStream* receive_stream) = 0; 121 VideoReceiveStream* receive_stream) = 0;
122 122
123 // All received RTP and RTCP packets for the call should be inserted to this 123 // All received RTP and RTCP packets for the call should be inserted to this
124 // PacketReceiver. The PacketReceiver pointer is valid as long as the 124 // PacketReceiver. The PacketReceiver pointer is valid as long as the
125 // Call instance exists. 125 // Call instance exists.
(...skipping 26 matching lines...) Expand all
152 virtual bool StartEventLog(rtc::PlatformFile log_file, 152 virtual bool StartEventLog(rtc::PlatformFile log_file,
153 int64_t max_size_bytes) = 0; 153 int64_t max_size_bytes) = 0;
154 virtual void StopEventLog() = 0; 154 virtual void StopEventLog() = 0;
155 155
156 virtual ~Call() {} 156 virtual ~Call() {}
157 }; 157 };
158 158
159 } // namespace webrtc 159 } // namespace webrtc
160 160
161 #endif // WEBRTC_CALL_H_ 161 #endif // WEBRTC_CALL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/BUILD.gn » ('j') | webrtc/call/call.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698