Set DtxDisabled from TrackInfo in score calculation. (#770)
* Set DtxDisabled from TrackInfo in score calculation. Also, fix sending connection quality upate on a new subscription. * comments tweaks * Move TrackInfo into StreamTrackerManager as this is used by cloud as well
This commit is contained in:
@@ -191,3 +191,10 @@ func (d *DumbReceiver) GetLayerDimension(quality int32) (uint32, uint32) {
|
||||
}
|
||||
return 0, 0
|
||||
}
|
||||
|
||||
func (d *DumbReceiver) IsDtxDisabled() bool {
|
||||
if r, ok := d.receiver.Load().(sfu.TrackReceiver); ok {
|
||||
return r.IsDtxDisabled()
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user