author | John Lin <jolin@mozilla.com> |
Tue, 08 Oct 2019 17:15:15 +0000 | |
changeset 496785 | 7b70cc3ab4ed5c71af4c5de1efcdc7e5f2b2f6ab |
parent 496784 | fe4675749b699118cf258e0b6456141fafb322dc |
child 496786 | 5530f741f9ad3a10fe395f9b5d2c8e820414e462 |
push id | 36668 |
push user | aiakab@mozilla.com |
push date | Wed, 09 Oct 2019 04:06:09 +0000 |
treeherder | mozilla-central@26ebfec08834 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jya |
bugs | 1581902 |
milestone | 71.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
media/webrtc/signaling/src/media-conduit/MediaDataCodec.cpp | file | annotate | diff | comparison | revisions |
--- a/media/webrtc/signaling/src/media-conduit/MediaDataCodec.cpp +++ b/media/webrtc/signaling/src/media-conduit/MediaDataCodec.cpp @@ -8,17 +8,17 @@ #include "WebrtcGmpVideoCodec.h" #include "mozilla/StaticPrefs_media.h" namespace mozilla { /* static */ WebrtcVideoEncoder* MediaDataCodec::CreateEncoder( webrtc::VideoCodecType aCodecType) { -#ifdef MOZ_APPLEMEDIA +#if defined(MOZ_APPLEMEDIA) || defined(MOZ_WIDGET_ANDROID) if (aCodecType == webrtc::VideoCodecType::kVideoCodecH264) { return new WebrtcVideoEncoderProxy(new WebrtcMediaDataEncoder()); } #endif return nullptr; } /* static */