Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Side by Side Diff: talk/media/webrtc/webrtcvideoengine2.cc

Issue 1315903004: ABANDONED: Remove the default receive channel in WVoE. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@mediacontroller
Patch Set: test Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "webrtc/base/stringutils.h" 44 #include "webrtc/base/stringutils.h"
45 #include "webrtc/base/timeutils.h" 45 #include "webrtc/base/timeutils.h"
46 #include "webrtc/call.h" 46 #include "webrtc/call.h"
47 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" 47 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h"
48 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h" 48 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h"
49 #include "webrtc/system_wrappers/interface/field_trial.h" 49 #include "webrtc/system_wrappers/interface/field_trial.h"
50 #include "webrtc/system_wrappers/interface/trace_event.h" 50 #include "webrtc/system_wrappers/interface/trace_event.h"
51 #include "webrtc/video_decoder.h" 51 #include "webrtc/video_decoder.h"
52 #include "webrtc/video_encoder.h" 52 #include "webrtc/video_encoder.h"
53 53
54 #define UNIMPLEMENTED \
55 LOG(LS_ERROR) << "Call to unimplemented function " << __FUNCTION__; \
56 RTC_NOTREACHED()
57
58 namespace cricket { 54 namespace cricket {
59 namespace { 55 namespace {
60 56
61 // Wrap cricket::WebRtcVideoEncoderFactory as a webrtc::VideoEncoderFactory. 57 // Wrap cricket::WebRtcVideoEncoderFactory as a webrtc::VideoEncoderFactory.
62 class EncoderFactoryAdapter : public webrtc::VideoEncoderFactory { 58 class EncoderFactoryAdapter : public webrtc::VideoEncoderFactory {
63 public: 59 public:
64 // EncoderFactoryAdapter doesn't take ownership of |factory|, which is owned 60 // EncoderFactoryAdapter doesn't take ownership of |factory|, which is owned
65 // by e.g. PeerConnectionFactory. 61 // by e.g. PeerConnectionFactory.
66 explicit EncoderFactoryAdapter(cricket::WebRtcVideoEncoderFactory* factory) 62 explicit EncoderFactoryAdapter(cricket::WebRtcVideoEncoderFactory* factory)
67 : factory_(factory) {} 63 : factory_(factory) {}
(...skipping 2668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2736 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id]; 2732 video_codecs[i].rtx_payload_type = rtx_mapping[video_codecs[i].codec.id];
2737 } 2733 }
2738 } 2734 }
2739 2735
2740 return video_codecs; 2736 return video_codecs;
2741 } 2737 }
2742 2738
2743 } // namespace cricket 2739 } // namespace cricket
2744 2740
2745 #endif // HAVE_WEBRTC_VIDEO 2741 #endif // HAVE_WEBRTC_VIDEO
OLDNEW
« no previous file with comments | « no previous file | talk/media/webrtc/webrtcvideoengine2_unittest.cc » ('j') | talk/media/webrtc/webrtcvoiceengine.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698