requestPreferredLayersForOpponentsStreams method
Allows changing the layer with different FPS for few users using single request.
config
- is the map where key is the opponent's id and the value is
the preferred layer of the video stream
There available three layers:
- 0 - lowest FPS;
- 1 - medium FPS;
- 2 - highest FPS;
Implementation
Future<void> requestPreferredLayersForOpponentsStreams(Map<int, int> config) {
return _signaler.requestPreferredLayersForUsersStreams(config);
}