Check for pictureID existence in VP8 and VP9 (#4721)

* Check for pictureID existence in VP8 and VP9

* test
This commit is contained in:
Raja Subramanian
2026-08-03 15:22:59 +05:30
committed by GitHub
parent 4618b63eb7
commit 28468035d2
2 changed files with 9 additions and 1 deletions
+1
View File
@@ -37,6 +37,7 @@ func (f *testFrameInfo) toVP8() *ExtPacket {
return &ExtPacket{
Packet: &rtp.Packet{Header: f.header},
Payload: codec.VP8{
I: true,
PictureID: f.framenumber,
},
VideoLayer: VideoLayer{Spatial: InvalidLayerSpatial, Temporal: int32(f.temporal)},