enableSimulcastMode abstract method
Enables/Disables the mode of publishing multiple video streams with different encoding configuration. Off by default.
Return value:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
Notes:
- You should call this method before entering the room or after entering the room but before publishing the stream.
- After setting this API to "True", you can call RTCVideo.setVideoEncoderConfig to set encoding configuration for each stream.
- If this function is off, or if this function is on but you don't set the configuration of any stream, only one stream will be sent with a resolution of 640px × 360px and a frame rate of 15fps.
Implementation
Future<int?> enableSimulcastMode(bool enable);