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:
Raja Subramanian
2022-06-19 21:12:09 +05:30
committed by GitHub
parent 227247b012
commit 62943f2096
6 changed files with 109 additions and 83 deletions
+7
View File
@@ -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
}