MERoomVideoStrategyContext class

视频订阅策略:订阅上下文

Constructors

MERoomVideoStrategyContext(NERoomContext roomContext, [int? _renderCacheSize])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
renderCacheSize int
渲染缓存数量
getter/setter pair
roomContext NERoomContext
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategy NERoomVideoStrategy
策略: 默认为常规策略
getter/setter pair

Methods

executeSubscribeRemoteVideoStream(String userId, NEVideoStreamType streamType) → void
执行策略 userId 用户id streamType 视频流类型
executeSubscribeRemoteVideoSubStream(String userId) → void
执行策略 userId 用户id
executeUnsubscribeRemoteVideoStream(String userId, NEVideoStreamType streamType) → void
执行策略 userId 用户id streamType 视频流类型
executeUnsubscribeRemoteVideoSubStream(String userId) → void
执行策略 userId 用户id
getCacheUserIdList() Set<SubscribeCacheUser>
获取cacheUserIdList
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setStrategy(NERoomVideoStrategy strategy) → void
设置策略 strategy 策略
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(NERoomContext context, [int? _renderCacheSize]) MERoomVideoStrategyContext
添加房间上下文 context 房间上下文 _renderCacheSize 渲染缓存数量