RtmpManager class

直播控制器

Constructors

RtmpManager({VoidCallback onCreated})

Properties

config RtmpConfig
配置
final
hashCode int
The hash code for this object. [...]
read-only, inherited
onCreated VoidCallback
视图加载回调,
final
permissionEnable bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cameraRatio() Future<double>
获取摄像头分辨率
dispose() Future
destroy
living({String url}) Future<RtmpResponse>
开始直播
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pauseLive() Future<RtmpResponse>
暂停直播
permissionCheck() Future<bool>
permission check
resumeLive() Future<RtmpResponse>
恢复直播
stopLive() Future<RtmpResponse>
停止直播
switchCamera() Future<RtmpResponse>
切换摄像头
toString() String
Returns a string representation of this object.
inherited
view() Widget

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited