newRtmpStream method

  1. @override
Future<int?> newRtmpStream(
  1. RtmpConnection connection
)
override

Creates a new RtmpStream platform instance.

Implementation

@override
Future<int?> newRtmpStream(RtmpConnection connection) async {
  return await channel
      .invokeMethod<int?>('newRtmpStream', {"connection": connection.memory});
}