mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 02:12:44 +00:00
configurable dependency descriptor restart (#4207)
* configurable dependency descriptor restart * KeyFrame -> IsKeyFrame * use the params directly
This commit is contained in:
1 parent
08793bea89
commit
dde4fb498e
8 files changed
+25
-24
No files matched your search
@@ -69,7 +69,7 @@ func GetTestExtPacket(params *TestExtPacketParams) (*buffer.ExtPacket, error) {
|
||||
ExtTimestamp: uint64(params.TSCycles<<32) + uint64(params.Timestamp),
|
||||
Arrival: params.ArrivalTime.UnixNano(),
|
||||
Packet: &packet,
|
||||
KeyFrame: params.IsKeyFrame,
|
||||
IsKeyFrame: params.IsKeyFrame,
|
||||
RawPacket: raw,
|
||||
IsOutOfOrder: params.IsOutOfOrder,
|
||||
}
|
||||
@@ -85,7 +85,7 @@ func GetTestExtPacketVP8(params *TestExtPacketParams, vp8 *buffer.VP8) (*buffer.
|
||||
return nil, err
|
||||
}
|
||||
|
||||
ep.KeyFrame = vp8.IsKeyFrame
|
||||
ep.IsKeyFrame = vp8.IsKeyFrame
|
||||
ep.Payload = *vp8
|
||||
if ep.DependencyDescriptor == nil {
|
||||
ep.Temporal = int32(vp8.TID)
|
||||
|
||||
Reference in new issue
Block a user