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 |
11 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h" | 11 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 #include <string.h> | 14 #include <string.h> |
15 | 15 |
16 #include "webrtc/base/checks.h" | 16 #include "webrtc/base/checks.h" |
17 #include "webrtc/base/logging.h" | 17 #include "webrtc/base/logging.h" |
18 #include "webrtc/base/trace_event.h" | 18 #include "webrtc/base/trace_event.h" |
19 #include "webrtc/modules/rtp_rtcp/interface/rtp_cvo.h" | 19 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" |
20 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" |
21 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" | 21 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" |
22 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" |
23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
24 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 24 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 | 27 |
28 RTPReceiverStrategy* RTPReceiverStrategy::CreateVideoStrategy( | 28 RTPReceiverStrategy* RTPReceiverStrategy::CreateVideoStrategy( |
29 RtpData* data_callback) { | 29 RtpData* data_callback) { |
30 return new RTPReceiverVideo(data_callback); | 30 return new RTPReceiverVideo(data_callback); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 callback->OnInitializeDecoder(payload_type, payload_name, | 119 callback->OnInitializeDecoder(payload_type, payload_name, |
120 kVideoPayloadTypeFrequency, 1, 0)) { | 120 kVideoPayloadTypeFrequency, 1, 0)) { |
121 LOG(LS_ERROR) << "Failed to created decoder for payload type: " | 121 LOG(LS_ERROR) << "Failed to created decoder for payload type: " |
122 << static_cast<int>(payload_type); | 122 << static_cast<int>(payload_type); |
123 return -1; | 123 return -1; |
124 } | 124 } |
125 return 0; | 125 return 0; |
126 } | 126 } |
127 | 127 |
128 } // namespace webrtc | 128 } // namespace webrtc |
OLD | NEW |