PlayConfig class

player需要的参数

Constructors

PlayConfig({int? fetchStreamType, bool? hardDecode, bool? privateData, int? timeout, String? secretKey, List<String>? waterConfigs, int? bufferLength, String? deviceSerial, String? verifyCode, String? ip, int? port, String? username, String? password, int? qualityType, int? channelNum})

Properties

bufferLength int?
流缓冲区大小,默认为5M 格式:510241024
getter/setter pair
channelNum int?
通道号
getter/setter pair
deviceSerial String?
萤石设备序列号
getter/setter pair
fetchStreamType int?
取流方式 0-hpsclient 1-设备直连 2-npclient
getter/setter pair
hardDecode bool?
是否开启硬解码 true-开启 false-关闭
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ip String?
设备ip
getter/setter pair
password String?
密码
getter/setter pair
port int?
端口号
getter/setter pair
privateData bool?
是否显示智能信息 true-显示 false-不显示
getter/setter pair
qualityType int?
清晰度 0-主码流 1-子码流
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String?
码流解密key,如果是萤石设备,就是验证码
getter/setter pair
timeout int?
取流超时时间,默认20s
getter/setter pair
username String?
用户名
getter/setter pair
verifyCode String?
设备验证码
getter/setter pair
waterConfigs List<String>?
水印信息
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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