attachVideo method
Attaches a VideoSource to this stream.
Implementation
@override
Future<void> attachVideo(VideoSource? video) async {
assert(_memory != null);
RtmpStreamPlatform.instance
.attachVideo({"memory": _memory, "source": video?.toMap()});
}