Bug 1148572 - Improve H264 renegotiation handling. r=jesup, a=sledru

This commit is contained in:
Nils Ohlmeier [:drno] 2015-03-30 20:48:28 -07:00
parent 4a797765b0
commit 1886226bac

View File

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