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 19 matching lines...) Expand all Loading... |
30 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" | 30 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" |
31 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" | 31 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" |
32 #include "webrtc/modules/video_coding/frame_object.h" | 32 #include "webrtc/modules/video_coding/frame_object.h" |
33 #include "webrtc/modules/video_coding/h264_sprop_parameter_sets.h" | 33 #include "webrtc/modules/video_coding/h264_sprop_parameter_sets.h" |
34 #include "webrtc/modules/video_coding/h264_sps_pps_tracker.h" | 34 #include "webrtc/modules/video_coding/h264_sps_pps_tracker.h" |
35 #include "webrtc/modules/video_coding/packet_buffer.h" | 35 #include "webrtc/modules/video_coding/packet_buffer.h" |
36 #include "webrtc/modules/video_coding/video_coding_impl.h" | 36 #include "webrtc/modules/video_coding/video_coding_impl.h" |
37 #include "webrtc/system_wrappers/include/field_trial.h" | 37 #include "webrtc/system_wrappers/include/field_trial.h" |
38 #include "webrtc/system_wrappers/include/metrics.h" | 38 #include "webrtc/system_wrappers/include/metrics.h" |
39 #include "webrtc/system_wrappers/include/timestamp_extrapolator.h" | 39 #include "webrtc/system_wrappers/include/timestamp_extrapolator.h" |
40 #include "webrtc/system_wrappers/include/trace.h" | |
41 #include "webrtc/video/receive_statistics_proxy.h" | 40 #include "webrtc/video/receive_statistics_proxy.h" |
42 #include "webrtc/video/vie_remb.h" | 41 #include "webrtc/video/vie_remb.h" |
43 | 42 |
44 namespace webrtc { | 43 namespace webrtc { |
45 | 44 |
46 namespace { | 45 namespace { |
47 constexpr int kPacketBufferStartSize = 32; | 46 constexpr int kPacketBufferStartSize = 32; |
48 constexpr int kPacketBufferMaxSixe = 2048; | 47 constexpr int kPacketBufferMaxSixe = 2048; |
49 } | 48 } |
50 | 49 |
(...skipping 606 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 |