Restore VP8 munger state properly. (#1634)

* Restore VP8 munger state properly.

* clean up
This commit is contained in:
Raja Subramanian
2023-04-19 16:21:16 +05:30
committed by GitHub
parent a9fe9f331c
commit a11944f84d
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ func (f *Forwarder) DetermineCodec(codec webrtc.RTPCodecCapability, extensions [
switch strings.ToLower(codec.MimeType) {
case "video/vp8":
f.codecMunger = codecmunger.NewVP8(f.logger)
f.codecMunger = codecmunger.NewVP8FromNull(f.codecMunger, f.logger)
if f.vls != nil {
f.vls = videolayerselector.NewSimulcastFromNull(f.vls)
} else {