startPublishingStream method
Implementation
Future<void> startPublishingStream(
String streamID, dynamic config, int? channel) {
String roomID = "";
if (config["roomID"] != null) {
roomID = config["roomID"];
}
PublishConfig options = PublishConfig(roomID: roomID);
ZegoFlutterEngine.instance
.startPublishingStream(streamID, getPublishChannel(channel), options);
return Future.value();
}