Send stream state paused only when it is paused due to bandwidth limitation. (#1391)
* WIP commit * Send stream state paused only when it is paused due to bandwidth limitation. When stream is resumed after a stream is paused, an active update is sent. Note that this means if there are intervening events like mute/unmute between pause and resume, resume will be sent.
This commit is contained in:
@@ -98,7 +98,7 @@ func (s *DDVideoLayerSelector) Select(expPkt *buffer.ExtPacket, tp *TranslationP
|
||||
// expPkt.DependencyDescriptor.FrameDependencies.SpatialId, expPkt.DependencyDescriptor.FrameDependencies.TemporalId))
|
||||
return false
|
||||
} else if dti == dd.DecodeTargetSwitch {
|
||||
tp.switchingToTargetLayer = true
|
||||
tp.isSwitchingToTargetLayer = true
|
||||
}
|
||||
|
||||
// DD-TODO : add frame to forwarded queue if entire frame is forwarded
|
||||
|
||||
Reference in New Issue
Block a user