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

Side by Side Diff: webrtc/call.h

Issue 1844773002: Update the call when the network route changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge with head Created 4 years, 8 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 | « webrtc/base/networkroute.h ('k') | webrtc/call/call.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_
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/audio_state.h" 19 #include "webrtc/audio_state.h"
20 #include "webrtc/base/networkroute.h"
20 #include "webrtc/base/socket.h" 21 #include "webrtc/base/socket.h"
21 #include "webrtc/video_receive_stream.h" 22 #include "webrtc/video_receive_stream.h"
22 #include "webrtc/video_send_stream.h" 23 #include "webrtc/video_send_stream.h"
23 24
24 namespace webrtc { 25 namespace webrtc {
25 26
26 class AudioProcessing; 27 class AudioProcessing;
27 28
28 const char* Version(); 29 const char* Version();
29 30
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // implemented. 134 // implemented.
134 virtual void SetBitrateConfig( 135 virtual void SetBitrateConfig(
135 const Config::BitrateConfig& bitrate_config) = 0; 136 const Config::BitrateConfig& bitrate_config) = 0;
136 137
137 // TODO(skvlad): When the unbundled case with multiple streams for the same 138 // TODO(skvlad): When the unbundled case with multiple streams for the same
138 // media type going over different networks is supported, track the state 139 // media type going over different networks is supported, track the state
139 // for each stream separately. Right now it's global per media type. 140 // for each stream separately. Right now it's global per media type.
140 virtual void SignalChannelNetworkState(MediaType media, 141 virtual void SignalChannelNetworkState(MediaType media,
141 NetworkState state) = 0; 142 NetworkState state) = 0;
142 143
144 virtual void OnNetworkRouteChanged(
145 const std::string& transport_name,
146 const rtc::NetworkRoute& network_route) = 0;
147
143 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; 148 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0;
144 149
145 virtual ~Call() {} 150 virtual ~Call() {}
146 }; 151 };
147 152
148 } // namespace webrtc 153 } // namespace webrtc
149 154
150 #endif // WEBRTC_CALL_H_ 155 #endif // WEBRTC_CALL_H_
OLDNEW
« no previous file with comments | « webrtc/base/networkroute.h ('k') | webrtc/call/call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698