select method Null safety
- {Map? layer = const {}}
Select the simulcast encoding layer and svc layers for the main video track.
Map layer - leave empty for automatic layer selection based on bandwidth estimation.
Implementation
select({Map? layer = const {}}) async {
_logger.i('Viewer select layer values: $layer');
await signaling?.cmd('select', {'layer': layer});
_logger.i('Connected to streamName: $streamName');
}