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

Unified Diff: webrtc/media/engine/webrtcmediaengine.h

Issue 2069643002: Added backwards compatible version of WebRtcMediaEngineFactory::Create. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added tests. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcmediaengine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/webrtcmediaengine.h
diff --git a/webrtc/media/engine/webrtcmediaengine.h b/webrtc/media/engine/webrtcmediaengine.h
index 332f8751e4680e09f8fef896c14cdbb1a6f3053c..24deeb4d0e6027d53ad7a4b676bebc3aa72e2b4a 100644
--- a/webrtc/media/engine/webrtcmediaengine.h
+++ b/webrtc/media/engine/webrtcmediaengine.h
@@ -29,6 +29,14 @@ namespace cricket {
class WebRtcMediaEngineFactory {
public:
+ // TODO(ossu): Backwards-compatible interface. Will be deprecated once the
+ // audio decoder factory is fully plumbed and used throughout WebRTC.
+ // See: crbug.com/webrtc/6000
+ static MediaEngineInterface* Create(
+ webrtc::AudioDeviceModule* adm,
+ WebRtcVideoEncoderFactory* video_encoder_factory,
+ WebRtcVideoDecoderFactory* video_decoder_factory);
+
static MediaEngineInterface* Create(
webrtc::AudioDeviceModule* adm,
const rtc::scoped_refptr<webrtc::AudioDecoderFactory>&
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcmediaengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698