diff --git a/config-sample.yaml b/config-sample.yaml index b204340c..4f9fb3a1 100644 --- a/config-sample.yaml +++ b/config-sample.yaml @@ -112,12 +112,6 @@ rtc: # batch_io: # batch_size: 128 # max_flush_interval: 2ms - # # force a reconnect on a publication error - # reconnect_on_publication_error: true - # # force a reconnect on a subscription error - # reconnect_on_subscription_error: true - # # force a reconnect on a data channel error - # reconnect_on_data_channel_error: true # # max number of bytes to buffer for data channel. 0 means unlimited. # # when this limit is breached, data messages will be dropped till the buffered amount drops below this limit. # data_channel_max_buffered_amount: 0 diff --git a/pkg/sfu/videolayerselector/dependencydescriptor.go b/pkg/sfu/videolayerselector/dependencydescriptor.go index 9d29427b..1306d94b 100644 --- a/pkg/sfu/videolayerselector/dependencydescriptor.go +++ b/pkg/sfu/videolayerselector/dependencydescriptor.go @@ -88,11 +88,6 @@ func (d *DependencyDescriptor) Select(extPkt *buffer.ExtPacket, _layer int32) (r return } - if !d.currentLayer.IsValid() && !extPkt.KeyFrame { - d.decisions.AddDropped(extFrameNum) - return - } - if ddwdt.StructureUpdated { d.updateDependencyStructure(dd.AttachedStructure, ddwdt.DecodeTargets) }