Dynacast (#62)

* signal

* engine

* dynacast option

* implement

* update for non simulcast

* use low when rid is null

* firefox comment
This commit is contained in:
Hiroshi Horie
2022-01-03 09:02:06 +07:00
committed by GitHub
parent 44a42eafea
commit ea5c324328
8 changed files with 100 additions and 6 deletions
+8
View File
@@ -132,3 +132,11 @@ extension PBStreamStateExt on lk_rtc.StreamState {
}[this] ??
StreamState.paused;
}
extension VideoQualityExt on lk_models.VideoQuality {
String toRid() => {
lk_models.VideoQuality.HIGH: 'f',
lk_models.VideoQuality.MEDIUM: 'h',
lk_models.VideoQuality.LOW: 'q',
}[this]!;
}