OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |