Home
last modified time | relevance | path

Searched refs:network_route (Results 1 – 25 of 33) sorted by relevance

12

/external/webrtc/pc/
Drtp_transport_unittest.cc56 absl::optional<rtc::NetworkRoute> network_route() { return network_route_; } in network_route() function in webrtc::SignalObserver
57 void OnNetworkRouteChanged(absl::optional<rtc::NetworkRoute> network_route) { in OnNetworkRouteChanged() argument
58 network_route_ = network_route; in OnNetworkRouteChanged()
153 EXPECT_FALSE(observer.network_route()); in TEST()
155 rtc::NetworkRoute network_route; in TEST() local
157 network_route.connected = true; in TEST()
158 network_route.local = rtc::RouteEndpoint::CreateWithNetworkId(kLocalNetId); in TEST()
159 network_route.remote = rtc::RouteEndpoint::CreateWithNetworkId(kRemoteNetId); in TEST()
160 network_route.last_sent_packet_id = kLastPacketId; in TEST()
161 network_route.packet_overhead = kTransportOverheadPerPacket; in TEST()
[all …]
Drtp_transport.cc76 SignalNetworkRouteChanged(new_packet_transport->network_route()); in SetRtpPacketTransport()
112 SignalNetworkRouteChanged(new_packet_transport->network_route()); in SetRtcpPacketTransport()
213 absl::optional<rtc::NetworkRoute> network_route) { in OnNetworkRouteChanged() argument
214 SignalNetworkRouteChanged(network_route); in OnNetworkRouteChanged()
Dsrtp_transport.cc257 absl::optional<rtc::NetworkRoute> network_route) { in OnNetworkRouteChanged() argument
259 if (network_route) { in OnNetworkRouteChanged()
264 network_route->packet_overhead += srtp_overhead; in OnNetworkRouteChanged()
266 SignalNetworkRouteChanged(network_route); in OnNetworkRouteChanged()
Drtp_transport.h90 absl::optional<rtc::NetworkRoute> network_route);
Dsrtp_transport.h125 absl::optional<rtc::NetworkRoute> network_route) override;
Dchannel_unittest.cc840 rtc::NetworkRoute network_route; in TestNetworkRouteChanges() local
843 absl::optional<rtc::NetworkRoute>(network_route)); in TestNetworkRouteChanges()
851 rtc::NetworkRoute network_route; in TestNetworkRouteChanges() local
852 network_route.connected = true; in TestNetworkRouteChanges()
853 network_route.local = in TestNetworkRouteChanges()
855 network_route.remote = in TestNetworkRouteChanges()
857 network_route.last_sent_packet_id = kLastPacketId; in TestNetworkRouteChanges()
858 network_route.packet_overhead = kTransportOverheadPerPacket; in TestNetworkRouteChanges()
862 absl::optional<rtc::NetworkRoute>(network_route)); in TestNetworkRouteChanges()
Dchannel.cc358 absl::optional<rtc::NetworkRoute> network_route) { in OnNetworkRouteChanged() argument
363 if (network_route) { in OnNetworkRouteChanged()
364 new_route = *(network_route); in OnNetworkRouteChanged()
Dchannel.h205 void OnNetworkRouteChanged(absl::optional<rtc::NetworkRoute> network_route);
/external/webrtc/modules/congestion_controller/rtp/
Dtransport_feedback_adapter.cc34 auto it = in_flight_data_.find(packet.network_route); in AddInFlightPacketBytes()
38 in_flight_data_.insert({packet.network_route, packet.sent.size}); in AddInFlightPacketBytes()
46 auto it = in_flight_data_.find(packet.network_route); in RemoveInFlightPacketBytes()
56 const rtc::NetworkRoute& network_route) const { in GetOutstandingData()
57 auto it = in_flight_data_.find(network_route); in GetOutstandingData()
99 packet.network_route = network_route_; in AddPacket()
180 const rtc::NetworkRoute& network_route) { in SetNetworkRoute() argument
181 network_route_ = network_route; in SetNetworkRoute()
253 if (packet_feedback.network_route == network_route_) { in ProcessTransportFeedbackInner()
Dtransport_feedback_adapter.h40 rtc::NetworkRoute network_route; member
47 DataSize GetOutstandingData(const rtc::NetworkRoute& network_route) const;
71 void SetNetworkRoute(const rtc::NetworkRoute& network_route);
/external/webrtc/call/
Drtp_transport_controller_send.cc279 const rtc::NetworkRoute& network_route) { in OnNetworkRouteChanged() argument
282 if (!network_route.connected) { in OnNetworkRouteChanged()
289 ApplyOrLiftRelayCap(IsRelayed(network_route)); in OnNetworkRouteChanged()
293 network_routes_.insert(std::make_pair(transport_name, network_route)); in OnNetworkRouteChanged()
296 if (inserted || !(kv->second == network_route)) { in OnNetworkRouteChanged()
298 << ": new_route = " << network_route.DebugString(); in OnNetworkRouteChanged()
308 task_queue_.PostTask([this, network_route] { in OnNetworkRouteChanged()
310 transport_overhead_bytes_per_packet_ = network_route.packet_overhead; in OnNetworkRouteChanged()
317 kv->second = network_route; in OnNetworkRouteChanged()
321 if (IsRelevantRouteChange(old_route, network_route)) { in OnNetworkRouteChanged()
[all …]
Drtp_transport_controller_send_interface.h137 const rtc::NetworkRoute& network_route) = 0;
Drtp_transport_controller_send.h96 const rtc::NetworkRoute& network_route) override;
/external/webrtc/p2p/base/
Dfake_packet_transport.h105 absl::optional<NetworkRoute> network_route() const override { in network_route() function
108 void SetNetworkRoute(absl::optional<NetworkRoute> network_route) { in SetNetworkRoute() argument
109 network_route_ = network_route; in SetNetworkRoute()
110 SignalNetworkRouteChanged(network_route); in SetNetworkRoute()
Dfake_dtls_transport.h251 absl::optional<rtc::NetworkRoute> network_route() const override { in network_route() function
252 return ice_transport_->network_route(); in network_route()
283 void OnNetworkRouteChanged(absl::optional<rtc::NetworkRoute> network_route) { in OnNetworkRouteChanged() argument
284 SignalNetworkRouteChanged(network_route); in OnNetworkRouteChanged()
Dpacket_transport_internal.cc23 absl::optional<NetworkRoute> PacketTransportInternal::network_route() const { in network_route() function in rtc::PacketTransportInternal
Dfake_ice_transport.h273 absl::optional<rtc::NetworkRoute> network_route() const override { in network_route() function
276 void SetNetworkRoute(absl::optional<rtc::NetworkRoute> network_route) { in SetNetworkRoute() argument
277 network_route_ = network_route; in SetNetworkRoute()
Ddtls_transport.h184 absl::optional<rtc::NetworkRoute> network_route() const override;
211 void OnNetworkRouteChanged(absl::optional<rtc::NetworkRoute> network_route);
Ddtls_transport.cc470 absl::optional<rtc::NetworkRoute> DtlsTransport::network_route() const { in network_route() function in cricket::DtlsTransport
471 return ice_transport_->network_route(); in network_route()
712 absl::optional<rtc::NetworkRoute> network_route) { in OnNetworkRouteChanged() argument
714 SignalNetworkRouteChanged(network_route); in OnNetworkRouteChanged()
Dpacket_transport_internal.h66 virtual absl::optional<NetworkRoute> network_route() const;
Dp2p_transport_channel.h174 absl::optional<rtc::NetworkRoute> network_route() const override;
/external/webrtc/media/base/
Dfake_media_engine.h275 const rtc::NetworkRoute& network_route) { in OnNetworkRouteChanged() argument
276 last_network_route_ = network_route; in OnNetworkRouteChanged()
278 transport_overhead_per_packet_ = network_route.packet_overhead; in OnNetworkRouteChanged()
Dmedia_channel.h190 const rtc::NetworkRoute& network_route) = 0;
1006 const rtc::NetworkRoute& network_route) override {} in OnNetworkRouteChanged() argument
/external/webrtc/media/engine/
Dwebrtc_voice_engine.h197 const rtc::NetworkRoute& network_route) override;
/external/webrtc/rtc_base/
DBUILD.gn856 "network_route.cc",
857 "network_route.h",

12