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 a5dd2b089c
commit def59aad67

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;