Bug 1148572: improve H264 renegotiation handling. r=jesup

This commit is contained in:
Nils Ohlmeier [:drno] 2015-03-30 20:48:28 -07:00
parent a6e4c12439
commit 45829fba5b

View File

@ -833,6 +833,9 @@ MediaPipelineFactory::EnsureExternalCodec(VideoSessionConduit& aConduit,
if (aConfig->mName == "VP8" || aConfig->mName == "VP9") {
return kMediaConduitNoError;
} else if (aConfig->mName == "H264") {
if (aConduit.CodecPluginID() != 0) {
return kMediaConduitNoError;
}
// Register H.264 codec.
if (aIsSend) {
VideoEncoder* encoder = nullptr;