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/video_coding/main/test/rtp_player.h" | 11 #include "webrtc/modules/video_coding/main/test/rtp_player.h" |
12 | 12 |
13 #include <stdio.h> | 13 #include <stdio.h> |
14 | 14 |
15 #include <map> | 15 #include <map> |
16 | 16 |
17 #include "webrtc/base/scoped_ptr.h" | 17 #include "webrtc/base/scoped_ptr.h" |
18 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
19 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" | 19 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" |
20 #include "webrtc/modules/rtp_rtcp/interface/rtp_receiver.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" |
21 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h" | 21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
22 #include "webrtc/modules/video_coding/main/source/internal_defines.h" | 22 #include "webrtc/modules/video_coding/main/source/internal_defines.h" |
23 #include "webrtc/modules/video_coding/main/test/test_util.h" | 23 #include "webrtc/modules/video_coding/main/test/test_util.h" |
24 #include "webrtc/system_wrappers/include/clock.h" | 24 #include "webrtc/system_wrappers/include/clock.h" |
25 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 25 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
26 #include "webrtc/test/rtp_file_reader.h" | 26 #include "webrtc/test/rtp_file_reader.h" |
27 | 27 |
28 #if 1 | 28 #if 1 |
29 # define DEBUG_LOG1(text, arg) | 29 # define DEBUG_LOG1(text, arg) |
30 #else | 30 #else |
31 # define DEBUG_LOG1(text, arg) (printf(text "\n", arg)) | 31 # define DEBUG_LOG1(text, arg) (printf(text "\n", arg)) |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 } | 484 } |
485 } | 485 } |
486 | 486 |
487 rtc::scoped_ptr<RtpPlayerImpl> impl( | 487 rtc::scoped_ptr<RtpPlayerImpl> impl( |
488 new RtpPlayerImpl(payload_sink_factory, payload_types, clock, | 488 new RtpPlayerImpl(payload_sink_factory, payload_types, clock, |
489 &packet_source, loss_rate, rtt_ms, reordering)); | 489 &packet_source, loss_rate, rtt_ms, reordering)); |
490 return impl.release(); | 490 return impl.release(); |
491 } | 491 } |
492 } // namespace rtpplayer | 492 } // namespace rtpplayer |
493 } // namespace webrtc | 493 } // namespace webrtc |
OLD | NEW |