Search
Preparing search index...
The search index is not available
NERTC V5.5.10
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
NERTC V5.5.10
types
MediaPriorityOptions
Interface MediaPriorityOptions
Hierarchy
MediaPriorityOptions
Index
Properties
preemtive
Mode
priority
Properties
Optional
preemtive
Mode
preemtive
Mode
:
boolean
是否开启抢占模式。默认为 false,即不开启。
抢占模式开启后,本地用户可以抢占其他用户的高优先级,被抢占的用户的媒体优先级变为普通优先级,在抢占者退出房间后,其他用户的优先级仍旧维持普通优先级。
抢占模式关闭时,如果房间中已有高优先级用户,则本地用户的高优先级设置不生效,仍旧为普通优先级。
priority
priority
:
number
本地用户的媒体流优先级。支持设置为:
50:高优先级。
100:(默认)普通优先级。
Modules
browser
client
nertc
stream
types
Network
Status
STREAM_
TYPE
Add
Task
Options
Back
Ground
Options
Client
Exception
Evt
Client
Media
Recording
Options
Client
Record
Config
Join
Options
Live
Config
Media
Priority
Options
preemtive
Mode
priority
NERtc
Canvas
Watermark
Config
NERtc
Encoder
Watermark
Config
NERtc
Image
Watermark
Config
NERtc
Text
Watermark
Config
NERtc
Timestamp
Watermark
Config
Ne
Rtc
Server
Addresses
Net
Status
Item
RTMPTask
RTMPTask
State
Record
Config
Record
Start
Options
Record
Status
Render
Mode
Stream
Options
Subscribe
Options
Unsubscribe
Options
plugin
Options
Adv
Beauty
Effects
Adv
Beauty
Preset
Adv
Beauty
Res
Config
Any
Class
Basic
Beauty
Res
Config
Beauty
Filters
Connection
State
Encryption
Mode
Media
Type
是否开启抢占模式。默认为 false,即不开启。