publish method

Future<void> publish(
  1. String name
)

Sends streaming audio, video and data message from client.

Implementation

Future<void> publish(String name) async {
  assert(_memory != null);
  RtmpStreamPlatform.instance.publish({"memory": _memory, "name": name});
}