diff options
Diffstat (limited to 'media/webrtc/signaling/src/media-conduit/GmpVideoCodec.cpp')
-rw-r--r-- | media/webrtc/signaling/src/media-conduit/GmpVideoCodec.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/media/webrtc/signaling/src/media-conduit/GmpVideoCodec.cpp b/media/webrtc/signaling/src/media-conduit/GmpVideoCodec.cpp new file mode 100644 index 000000000..0c4d81e44 --- /dev/null +++ b/media/webrtc/signaling/src/media-conduit/GmpVideoCodec.cpp @@ -0,0 +1,18 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#include "WebrtcGmpVideoCodec.h" +#include "GmpVideoCodec.h" + +namespace mozilla { + +VideoEncoder* GmpVideoCodec::CreateEncoder() { + return static_cast<VideoEncoder*>(new WebrtcVideoEncoderProxy()); +} + +VideoDecoder* GmpVideoCodec::CreateDecoder() { + return static_cast<VideoDecoder*>(new WebrtcVideoDecoderProxy()); +} + +} |