create static method
Implementation
static Future<RtmpStream> create(RtmpConnection connection) async {
var object = RtmpStream._();
object._memory =
await HaishinKitPlatform.instance.newRtmpStream(connection);
object._eventChannel =
EventChannel("com.haishinkit.eventchannel/${object._memory}");
return object;
}