| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 transport_sequence_number_allocator; | 67 transport_sequence_number_allocator; |
| 68 configuration.send_bitrate_observer = nullptr; | 68 configuration.send_bitrate_observer = nullptr; |
| 69 configuration.send_frame_count_observer = nullptr; | 69 configuration.send_frame_count_observer = nullptr; |
| 70 configuration.send_side_delay_observer = nullptr; | 70 configuration.send_side_delay_observer = nullptr; |
| 71 configuration.send_packet_observer = nullptr; | 71 configuration.send_packet_observer = nullptr; |
| 72 configuration.bandwidth_callback = nullptr; | 72 configuration.bandwidth_callback = nullptr; |
| 73 configuration.transport_feedback_callback = nullptr; | 73 configuration.transport_feedback_callback = nullptr; |
| 74 | 74 |
| 75 std::unique_ptr<RtpRtcp> rtp_rtcp(RtpRtcp::CreateRtpRtcp(configuration)); | 75 std::unique_ptr<RtpRtcp> rtp_rtcp(RtpRtcp::CreateRtpRtcp(configuration)); |
| 76 rtp_rtcp->SetSendingStatus(false); | 76 rtp_rtcp->SetSendingStatus(false); |
| 77 rtp_rtcp->SetSendingMediaStatus(false); | |
| 78 rtp_rtcp->SetRTCPStatus(RtcpMode::kCompound); | 77 rtp_rtcp->SetRTCPStatus(RtcpMode::kCompound); |
| 79 | 78 |
| 80 return rtp_rtcp; | 79 return rtp_rtcp; |
| 81 } | 80 } |
| 82 | 81 |
| 83 static const int kPacketLogIntervalMs = 10000; | 82 static const int kPacketLogIntervalMs = 10000; |
| 84 | 83 |
| 85 RtpStreamReceiver::RtpStreamReceiver( | 84 RtpStreamReceiver::RtpStreamReceiver( |
| 86 Transport* transport, | 85 Transport* transport, |
| 87 RtcpRttStats* rtt_stats, | 86 RtcpRttStats* rtt_stats, |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 return; | 656 return; |
| 658 | 657 |
| 659 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str())) | 658 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str())) |
| 660 return; | 659 return; |
| 661 | 660 |
| 662 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), | 661 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), |
| 663 sprop_decoder.pps_nalu()); | 662 sprop_decoder.pps_nalu()); |
| 664 } | 663 } |
| 665 | 664 |
| 666 } // namespace webrtc | 665 } // namespace webrtc |
| OLD | NEW |