vp8 temporal layer selection with dependency descriptor (#3302)

* vp8 with dd

* make temporal layer selection work with DD

* fix test

---------

Co-authored-by: boks1971 <raja.gobi@tutanota.com>
This commit is contained in:
cnderrauber
2025-01-03 21:26:03 +08:00
committed by GitHub
co-authored by boks1971
parent dd87f1ccc4
commit 384e21abc0
4 changed files with 9 additions and 6 deletions
+3
View File
@@ -85,6 +85,9 @@ func GetTestExtPacketVP8(params *TestExtPacketParams, vp8 *buffer.VP8) (*buffer.
ep.KeyFrame = vp8.IsKeyFrame
ep.Payload = *vp8
if ep.DependencyDescriptor == nil {
ep.Temporal = int32(vp8.TID)
}
return ep, nil
}