Chromium Code Reviews| 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_ |
| 11 #define WEBRTC_CALL_H_ | 11 #define WEBRTC_CALL_H_ |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "webrtc/common_types.h" | 16 #include "webrtc/common_types.h" |
| 17 #include "webrtc/audio_receive_stream.h" | 17 #include "webrtc/audio_receive_stream.h" |
| 18 #include "webrtc/audio_send_stream.h" | 18 #include "webrtc/audio_send_stream.h" |
| 19 #include "webrtc/base/socket.h" | |
|
mflodman
2015/10/15 13:58:22
Is this really needed in this header?
It would be
stefan-webrtc
2015/10/15 14:08:51
Keeping as is for now. Chrome already depends on s
| |
| 19 #include "webrtc/video_receive_stream.h" | 20 #include "webrtc/video_receive_stream.h" |
| 20 #include "webrtc/video_send_stream.h" | 21 #include "webrtc/video_send_stream.h" |
| 21 | 22 |
| 22 namespace webrtc { | 23 namespace webrtc { |
| 23 | 24 |
| 24 class AudioDeviceModule; | 25 class AudioDeviceModule; |
| 25 class AudioProcessing; | 26 class AudioProcessing; |
| 26 class VoiceEngine; | 27 class VoiceEngine; |
| 27 class VoiceEngineObserver; | 28 class VoiceEngineObserver; |
| 28 | 29 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 130 | 131 |
| 131 // TODO(pbos): Like BitrateConfig above this is currently per-stream instead | 132 // TODO(pbos): Like BitrateConfig above this is currently per-stream instead |
| 132 // of maximum for entire Call. This should be fixed along with the above. | 133 // of maximum for entire Call. This should be fixed along with the above. |
| 133 // Specifying a start bitrate (>0) will currently reset the current bitrate | 134 // Specifying a start bitrate (>0) will currently reset the current bitrate |
| 134 // estimate. This is due to how the 'x-google-start-bitrate' flag is currently | 135 // estimate. This is due to how the 'x-google-start-bitrate' flag is currently |
| 135 // implemented. | 136 // implemented. |
| 136 virtual void SetBitrateConfig( | 137 virtual void SetBitrateConfig( |
| 137 const Config::BitrateConfig& bitrate_config) = 0; | 138 const Config::BitrateConfig& bitrate_config) = 0; |
| 138 virtual void SignalNetworkState(NetworkState state) = 0; | 139 virtual void SignalNetworkState(NetworkState state) = 0; |
| 139 | 140 |
| 141 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; | |
| 142 | |
| 140 virtual ~Call() {} | 143 virtual ~Call() {} |
| 141 }; | 144 }; |
| 142 | 145 |
| 143 } // namespace webrtc | 146 } // namespace webrtc |
| 144 | 147 |
| 145 #endif // WEBRTC_CALL_H_ | 148 #endif // WEBRTC_CALL_H_ |
| OLD | NEW |