close method

  1. @override
Future<void> close()
override

Stops playing or publishing and makes available other uses.

Implementation

@override
Future<void> close() async {
  assert(_memory != null);
  RtmpStreamPlatform.instance.close({"memory": _memory});
}