| 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_CALL_H_ | 10 #ifndef WEBRTC_CALL_CALL_H_ |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |