Use VP9 Key frame detection from Galene. (#1973)
* Use VP9 Key frame detection from Galene. With ffmpeg generated VP9 file with single layer and publishing via Go SDK, the key picture determination outlined at https://datatracker.ietf.org/doc/html/draft-ietf-payload-vp9-16#page-13 under the F bit explanation does not work. It declares kay frame for pretty much all frames. Unclear if ffmpeg generated bitstream has issues or if that procedure in the above document does not work for single layer case. Using the bit stream explained here https://storage.googleapis.com/downloads.webmproject.org/docs/vp9/vp9-bitstream-specification-v0.6-20160331-draft.pdf (pages 28, 62, 63) implemented in Galene. That is more expensive as it has to parse more, but works in all cases. * Add AV1-TODo * add some TODOs
This commit is contained in:
@@ -309,6 +309,7 @@ func (f *Forwarder) DetermineCodec(codec webrtc.RTPCodecCapability, extensions [
|
||||
f.vls = videolayerselector.NewVP9(f.logger)
|
||||
}
|
||||
}
|
||||
// SVC-TODO: Support for VP9 simulcast. When DD is not available, have to pick selector based on VP9 SVC or Simulcast
|
||||
case "video/av1":
|
||||
// DD-TODO : we only enable dd layer selector for av1/vp9 now, in the future we can enable it for vp8 too
|
||||
if f.vls != nil {
|
||||
@@ -316,6 +317,7 @@ func (f *Forwarder) DetermineCodec(codec webrtc.RTPCodecCapability, extensions [
|
||||
} else {
|
||||
f.vls = videolayerselector.NewDependencyDescriptor(f.logger)
|
||||
}
|
||||
// SVC-TODO: Support for AV1 Simulcast or just single spatial layer - won't have DD in that case
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user