No sync when starting from nothing (#2191)
When starting from scratch (like mute -> unmute), it is possible that the check sync does not detect a broken chain. That results in PLIs not being sent and the video frozen till a gratuitous key frame arrives. Unclear why there are not PLIs from client side. That is something else to dig into.
This commit is contained in:
@@ -142,6 +142,12 @@ type DependencyDescriptorDecodeTarget struct {
|
||||
Layer VideoLayer
|
||||
}
|
||||
|
||||
func (dt *DependencyDescriptorDecodeTarget) String() string {
|
||||
return fmt.Sprintf("DecodeTarget{t: %d, l: %+v}", dt.Target, dt.Layer)
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
func ProcessFrameDependencyStructure(structure *dd.FrameDependencyStructure) []DependencyDescriptorDecodeTarget {
|
||||
decodeTargets := make([]DependencyDescriptorDecodeTarget, 0, structure.NumDecodeTargets)
|
||||
for target := 0; target < structure.NumDecodeTargets; target++ {
|
||||
|
||||
Reference in New Issue
Block a user