createDataStreamEx abstract method
Future<int>
createDataStreamEx({
- required DataStreamConfig config,
- required RtcConnection connection,
Creates a data stream.
Creates a data stream. Each user can create up to five data streams in a single channel.
config
The configurations for the data stream. See DataStreamConfig.connection
The connection information. See RtcConnection.
Returns ID of the created data stream, if the method call succeeds. < 0: Failure.
Implementation
Future<int> createDataStreamEx(
{required DataStreamConfig config, required RtcConnection connection});