more info for new feature

This commit is contained in:
Hiroshi Horie
2022-01-03 09:23:54 +07:00
parent e154f7ace0
commit 4cd28ae1bd
2 changed files with 12 additions and 7 deletions
+5 -1
View File
@@ -3,8 +3,12 @@
## 0.5.6
* Using WebRTC version M93.
* New `dynacast` option to `RoomOptions`.
* New `dynacast` option to `RoomOptions`. Dynacast dynamically pauses
video layers that are not being consumed by any subscribers, significantly
reducing publishing CPU and bandwidth usage. (currently defaults to off)
* Rename `optimizeVideo` to `adaptiveStream` and improve stability.
AdaptiveStream lets LiveKit automatically manage quality of subscribed
video tracks to optimize for bandwidth and CPU.
## 0.5.5
+7 -6
View File
@@ -44,12 +44,13 @@ class RoomOptions {
/// Default options used when publishing a [LocalAudioTrack].
final AudioPublishOptions defaultAudioPublishOptions;
/// When this is turned on, the following optimizations will be made:
/// - [RemoteTrackPublication] will be enabled/disabled based on the corresponding
/// [VideoTrackRenderer]'s visibility on screen.
/// - Re-sizing a [VideoTrackRenderer] will signal the server to send down
/// a relavant quality layer (if simulcast is enabled on the publisher)
/// Defaults to false.
/// AdaptiveStream lets LiveKit automatically manage quality of subscribed
/// video tracks to optimize for bandwidth and CPU.
/// When attached video elements are visible, it'll choose an appropriate
/// resolution based on the size of largest video element it's attached to.
///
/// When none of the video elements are visible, it'll temporarily pause
/// the data flow until they are visible again.
final bool adaptiveStream;
/// enable Dynacast, off by default. With Dynacast dynamically pauses