newRtmpStream method
Creates a new RtmpStream platform instance.
Implementation
@override
Future<int?> newRtmpStream(RtmpConnection connection) async {
return await channel
.invokeMethod<int?>('newRtmpStream', {"connection": connection.memory});
}