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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 configuration.transport_sequence_number_allocator = | 66 configuration.transport_sequence_number_allocator = |
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); | |
77 rtp_rtcp->SetSendingMediaStatus(false); | |
78 rtp_rtcp->SetRTCPStatus(RtcpMode::kCompound); | 76 rtp_rtcp->SetRTCPStatus(RtcpMode::kCompound); |
79 | 77 |
80 return rtp_rtcp; | 78 return rtp_rtcp; |
81 } | 79 } |
82 | 80 |
83 static const int kPacketLogIntervalMs = 10000; | 81 static const int kPacketLogIntervalMs = 10000; |
84 | 82 |
85 RtpStreamReceiver::RtpStreamReceiver( | 83 RtpStreamReceiver::RtpStreamReceiver( |
86 Transport* transport, | 84 Transport* transport, |
87 RtcpRttStats* rtt_stats, | 85 RtcpRttStats* rtt_stats, |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 return; | 649 return; |
652 | 650 |
653 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str())) | 651 if (!sprop_decoder.DecodeSprop(sprop_base64_it->second.c_str())) |
654 return; | 652 return; |
655 | 653 |
656 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), | 654 tracker_.InsertSpsPpsNalus(sprop_decoder.sps_nalu(), |
657 sprop_decoder.pps_nalu()); | 655 sprop_decoder.pps_nalu()); |
658 } | 656 } |
659 | 657 |
660 } // namespace webrtc | 658 } // namespace webrtc |
OLD | NEW |