Lines Matching refs:webrtc
11 #include "webrtc/modules/video_coding/main/test/receiver_tests.h"
12 #include "webrtc/modules/video_coding/main/test/vcm_payload_sink_factory.h"
13 #include "webrtc/system_wrappers/interface/trace.h"
14 #include "webrtc/test/testsupport/fileutils.h"
19 const webrtc::VCMVideoProtection kConfigProtectionMethod =
20 webrtc::kProtectionNack;
31 std::string trace_file = webrtc::test::OutputPath() + "receiverTestTrace.txt";
32 webrtc::Trace::CreateTrace();
33 webrtc::Trace::SetTraceFile(trace_file.c_str());
34 webrtc::Trace::set_level_filter(webrtc::kTraceAll);
36 webrtc::rtpplayer::PayloadTypes payload_types;
37 payload_types.push_back(webrtc::rtpplayer::PayloadCodecTuple(
38 VCM_ULPFEC_PAYLOAD_TYPE, "ULPFEC", webrtc::kVideoCodecULPFEC));
39 payload_types.push_back(webrtc::rtpplayer::PayloadCodecTuple(
40 VCM_RED_PAYLOAD_TYPE, "RED", webrtc::kVideoCodecRED));
41 payload_types.push_back(webrtc::rtpplayer::PayloadCodecTuple(
42 VCM_VP8_PAYLOAD_TYPE, "VP8", webrtc::kVideoCodecVP8));
46 output_file = webrtc::test::OutputPath() + "RtpPlay_decoded.yuv";
49 webrtc::SimulatedClock clock(0);
50 webrtc::rtpplayer::VcmPayloadSinkFactory factory(output_file, &clock,
53 webrtc::scoped_ptr<webrtc::rtpplayer::RtpPlayerInterface> rtp_player(
54 webrtc::rtpplayer::Create(args.inputFile, &factory, &clock, payload_types,
84 webrtc::Trace::ReturnTrace();