mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1148572: improve H264 renegotiation handling. r=jesup
This commit is contained in:
parent
a6e4c12439
commit
45829fba5b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user