NERtcPlayStreamingConfig class

@if English The stream pushin configuration. @endif @if Chinese 拉流配置。 @endif

Annotations
  • @JsonSerializable.new()

Constructors

NERtcPlayStreamingConfig({String streamingUrl = '', int playOutDelay = 2000, int reconnectTimeout = 30000, bool muteAudio = false, bool muteVideo = false, bool pausePullStream = false})
NERtcPlayStreamingConfig.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
muteAudio bool
@if Chinese 是否静音音频,默认为false。 @endif
getter/setter pair
muteVideo bool
@if Chinese 是否静音视频,默认为false。 @endif
getter/setter pair
pausePullStream bool
@if Chinese 暂停拉流 @endif
getter/setter pair
playOutDelay int
@if English Play delay, measured in milliseconds. The default value is 2000, which means no delay is set. @endif @if Chinese 播放延时,单位为毫秒。默认值为 2000,表示不设置延时。 @endif
getter/setter pair
reconnectTimeout int
@if English Reconnect timeout, measured in milliseconds. The default value is 2000, which means no delay is set. @endif @if Chinese 超时重连时间 默认为30秒。 @endif
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamingUrl String
@if English The CDN streaming address for the audio/video stream, which is the playback address on the live streaming CDN. @endif @if Chinese 指定该音视频流的 CDN 拉流地址,即 CDN 的播放地址。 @endif
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