mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1148572 - Improve H264 renegotiation handling. r=jesup, a=sledru
This commit is contained in:
parent
4a797765b0
commit
1886226bac
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user