mirror of
https://github.com/livekit/livekit.git
synced 2026-08-03 21:59:34 +00:00
Do not enable bitrate based scoring for screen share. (#1497)
This commit is contained in:
@@ -882,6 +882,11 @@ func (d *DownTrack) maybeAddTransition(bitrate int64) {
|
||||
return
|
||||
}
|
||||
|
||||
ti := d.receiver.TrackInfo()
|
||||
if ti == nil || ti.Source == livekit.TrackSource_SCREEN_SHARE {
|
||||
return
|
||||
}
|
||||
|
||||
d.connectionStats.AddTransition(bitrate, time.Now())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user