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 | 10 |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 816 ConfigureSync(config.sync_group); | 816 ConfigureSync(config.sync_group); |
| 817 } | 817 } |
| 818 | 818 |
| 819 receive_side_cc_.GetRemoteBitrateEstimator(UseSendSideBwe(config)) | 819 receive_side_cc_.GetRemoteBitrateEstimator(UseSendSideBwe(config)) |
| 820 ->RemoveStream(config.rtp.remote_ssrc); | 820 ->RemoveStream(config.rtp.remote_ssrc); |
| 821 | 821 |
| 822 UpdateAggregateNetworkState(); | 822 UpdateAggregateNetworkState(); |
| 823 delete receive_stream_impl; | 823 delete receive_stream_impl; |
| 824 } | 824 } |
| 825 | 825 |
| 826 // TODO(eladalon): Return a unique_ptr instead? | |
|
stefan-webrtc
2017/07/07 09:36:24
Maybe it makes sense to keep this out of this CL u
eladalon
2017/07/07 14:16:24
Done.
| |
| 826 FlexfecReceiveStream* Call::CreateFlexfecReceiveStream( | 827 FlexfecReceiveStream* Call::CreateFlexfecReceiveStream( |
| 827 const FlexfecReceiveStream::Config& config) { | 828 const FlexfecReceiveStream::Config& config) { |
| 828 TRACE_EVENT0("webrtc", "Call::CreateFlexfecReceiveStream"); | 829 TRACE_EVENT0("webrtc", "Call::CreateFlexfecReceiveStream"); |
| 829 RTC_DCHECK_RUN_ON(&configuration_thread_checker_); | 830 RTC_DCHECK_RUN_ON(&configuration_thread_checker_); |
| 830 | 831 |
| 831 RecoveredPacketReceiver* recovered_packet_receiver = this; | 832 RecoveredPacketReceiver* recovered_packet_receiver = this; |
| 832 | 833 |
| 833 FlexfecReceiveStreamImpl* receive_stream; | 834 FlexfecReceiveStreamImpl* receive_stream; |
| 834 { | 835 { |
| 835 WriteLockScoped write_lock(*receive_crit_); | 836 WriteLockScoped write_lock(*receive_crit_); |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1378 (use_send_side_bwe && header.extension.hasTransportSequenceNumber)) { | 1379 (use_send_side_bwe && header.extension.hasTransportSequenceNumber)) { |
| 1379 receive_side_cc_.OnReceivedPacket( | 1380 receive_side_cc_.OnReceivedPacket( |
| 1380 packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(), | 1381 packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(), |
| 1381 header); | 1382 header); |
| 1382 } | 1383 } |
| 1383 } | 1384 } |
| 1384 | 1385 |
| 1385 } // namespace internal | 1386 } // namespace internal |
| 1386 | 1387 |
| 1387 } // namespace webrtc | 1388 } // namespace webrtc |
| OLD | NEW |