Preparing search index...
The search index is not available
NERtcSDK HarmonyOS
NERtcSDK HarmonyOS
NERtcCallback
NERtcCallbackEx
Class NERtcCallbackEx
Abstract
Implements
NERtcCallback
Index
Constructors
constructor
Methods
on
Add
Live
Stream
Task
on
Api
Call
Executed
on
Audio
Device
Changed
on
Audio
Device
State
Changed
on
Audio
Effect
Finished
on
Audio
Effect
Timestamp
Update
on
Audio
Mixing
State
Changed
on
Audio
Mixing
Timestamp
Update
on
Audio
Recording
on
Camera
Exposure
Changed
on
Camera
Focus
Changed
on
Client
Role
Change
on
Connection
State
Changed
on
Connection
Type
Changed
on
Disconnect
on
Error
on
First
Audio
Data
Received
on
First
Audio
Frame
Decoded
on
First
Video
Data
Received
on
First
Video
Frame
Decoded
on
First
Video
Frame
Render
on
Join
Channel
on
Lab
Feature
Callback
on
Lastmile
Probe
Result
on
Lastmile
Quality
on
Leave
Channel
on
Live
Stream
State
on
Local
Audio
Volume
Indication
on
Local
Publish
Fallback
To
Audio
Only
on
Local
Video
Render
Size
Changed
on
Local
Video
Watermark
State
on
Media
Relay
Receive
Event
on
Media
Relay
States
Change
on
Media
Right
Change
on
Permission
Key
Will
Expire
on
Re
Join
Channel
on
Reconnecting
Start
on
RecvSEIMsg
on
Remote
Audio
Volume
Indication
on
Remote
Subscribe
Fallback
To
Audio
Only
on
Remote
Video
Size
Changed
on
Remove
Live
Stream
Task
on
Update
Live
Stream
Task
on
Update
Permission
Key
on
User
Audio
Mute
on
User
Audio
Start
on
User
Audio
Stop
on
User
Data
Buffered
Amount
Changed
on
User
Data
Receive
Message
on
User
Data
Start
on
User
Data
State
Changed
on
User
Data
Stop
on
User
Joined
on
User
Leave
on
User
Sub
Stream
Audio
Mute
on
User
Sub
Stream
Audio
Start
on
User
Sub
Stream
Audio
Stop
on
User
Sub
Stream
Video
Mute
on
User
Sub
Stream
Video
Start
on
User
Sub
Stream
Video
Stop
on
User
Video
Mute
on
User
Video
Start
on
User
Video
Stop
on
Video
Device
State
Changed
on
Virtual
Background
Source
Enabled
on
Warning
Constructors
constructor
new NERtc
Callback
Ex
(
)
:
NERtcCallbackEx
Returns
NERtcCallbackEx
Methods
on
Add
Live
Stream
Task
on
Add
Live
Stream
Task
(
taskId
,
url
,
errorCode
)
:
void
Parameters
taskId
:
string
url
:
string
errorCode
:
number
Returns
void
on
Api
Call
Executed
on
Api
Call
Executed
(
apiName
,
result
,
message
)
:
void
Parameters
apiName
:
string
result
:
number
message
:
string
Returns
void
on
Audio
Device
Changed
on
Audio
Device
Changed
(
selected
)
:
void
Parameters
selected
:
number
Returns
void
on
Audio
Device
State
Changed
on
Audio
Device
State
Changed
(
deviceType
,
deviceState
)
:
void
Parameters
deviceType
:
AudioDevice
deviceState
:
AudioDeviceState
Returns
void
on
Audio
Effect
Finished
on
Audio
Effect
Finished
(
effectId
)
:
void
Parameters
effectId
:
number
Returns
void
on
Audio
Effect
Timestamp
Update
on
Audio
Effect
Timestamp
Update
(
id
,
timestampMs
)
:
void
Parameters
id
:
number
timestampMs
:
bigint
Returns
void
on
Audio
Mixing
State
Changed
on
Audio
Mixing
State
Changed
(
reason
)
:
void
Parameters
reason
:
number
Returns
void
on
Audio
Mixing
Timestamp
Update
on
Audio
Mixing
Timestamp
Update
(
timestampMs
)
:
void
Parameters
timestampMs
:
bigint
Returns
void
on
Audio
Recording
on
Audio
Recording
(
code
,
filePath
)
:
void
Parameters
code
:
number
filePath
:
string
Returns
void
on
Camera
Exposure
Changed
on
Camera
Exposure
Changed
(
left
,
top
,
right
,
bottom
)
:
void
Parameters
left
:
number
top
:
number
right
:
number
bottom
:
number
Returns
void
on
Camera
Focus
Changed
on
Camera
Focus
Changed
(
left
,
top
,
right
,
bottom
)
:
void
Parameters
left
:
number
top
:
number
right
:
number
bottom
:
number
Returns
void
Abstract
on
Client
Role
Change
on
Client
Role
Change
(
oldRole
,
newRole
)
:
void
Parameters
oldRole
:
number
newRole
:
number
Returns
void
on
Connection
State
Changed
on
Connection
State
Changed
(
state
,
reason
)
:
void
Parameters
state
:
number
reason
:
number
Returns
void
on
Connection
Type
Changed
on
Connection
Type
Changed
(
newConnectionType
)
:
void
Parameters
newConnectionType
:
number
Returns
void
Abstract
on
Disconnect
on
Disconnect
(
reason
)
:
void
Parameters
reason
:
number
Returns
void
on
Error
on
Error
(
code
)
:
void
Parameters
code
:
number
Returns
void
on
First
Audio
Data
Received
on
First
Audio
Data
Received
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
First
Audio
Frame
Decoded
on
First
Audio
Frame
Decoded
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
First
Video
Data
Received
on
First
Video
Data
Received
(
streamType
,
uid
)
:
void
Parameters
streamType
:
NERtcVideoStreamType
uid
:
bigint
Returns
void
on
First
Video
Frame
Decoded
on
First
Video
Frame
Decoded
(
streamType
,
userId
,
width
,
height
)
:
void
Parameters
streamType
:
NERtcVideoStreamType
userId
:
bigint
width
:
number
height
:
number
Returns
void
on
First
Video
Frame
Render
on
First
Video
Frame
Render
(
streamType
,
userId
,
width
,
height
,
elapsedTime
)
:
void
Parameters
streamType
:
NERtcVideoStreamType
userId
:
bigint
width
:
number
height
:
number
elapsedTime
:
bigint
Returns
void
Abstract
on
Join
Channel
on
Join
Channel
(
result
,
channelId
,
elapsed
,
uid
)
:
void
Parameters
result
:
number
channelId
:
bigint
elapsed
:
bigint
uid
:
bigint
Returns
void
on
Lab
Feature
Callback
on
Lab
Feature
Callback
(
key
,
param
)
:
void
Parameters
key
:
string
param
:
Object
Returns
void
on
Lastmile
Probe
Result
on
Lastmile
Probe
Result
(
result
)
:
void
Parameters
result
:
NERtcProbeResult
Returns
void
on
Lastmile
Quality
on
Lastmile
Quality
(
quality
)
:
void
Parameters
quality
:
number
Returns
void
Abstract
on
Leave
Channel
on
Leave
Channel
(
result
)
:
void
Parameters
result
:
number
Returns
void
on
Live
Stream
State
on
Live
Stream
State
(
taskId
,
pushUrl
,
liveState
)
:
void
Parameters
taskId
:
string
pushUrl
:
string
liveState
:
number
Returns
void
on
Local
Audio
Volume
Indication
on
Local
Audio
Volume
Indication
(
volume
,
vadFlag
)
:
void
Parameters
volume
:
number
vadFlag
:
boolean
Returns
void
on
Local
Publish
Fallback
To
Audio
Only
on
Local
Publish
Fallback
To
Audio
Only
(
isFallback
,
streamType
)
:
void
Parameters
isFallback
:
boolean
streamType
:
NERtcVideoStreamType
Returns
void
on
Local
Video
Render
Size
Changed
on
Local
Video
Render
Size
Changed
(
videoType
,
width
,
height
)
:
void
Parameters
videoType
:
NERtcVideoStreamType
width
:
number
height
:
number
Returns
void
on
Local
Video
Watermark
State
on
Local
Video
Watermark
State
(
streamType
,
state
)
:
void
Parameters
streamType
:
NERtcVideoStreamType
state
:
number
Returns
void
on
Media
Relay
Receive
Event
on
Media
Relay
Receive
Event
(
event
,
code
,
channelName
)
:
void
Parameters
event
:
number
code
:
number
channelName
:
string
Returns
void
on
Media
Relay
States
Change
on
Media
Relay
States
Change
(
state
,
channelName
)
:
void
Parameters
state
:
number
channelName
:
string
Returns
void
on
Media
Right
Change
on
Media
Right
Change
(
isAudioBannedByServer
,
isVideoBannedByServer
)
:
void
Parameters
isAudioBannedByServer
:
boolean
isVideoBannedByServer
:
boolean
Returns
void
on
Permission
Key
Will
Expire
on
Permission
Key
Will
Expire
(
)
:
void
Returns
void
on
Re
Join
Channel
on
Re
Join
Channel
(
result
,
channelId
)
:
void
Parameters
result
:
number
channelId
:
bigint
Returns
void
on
Reconnecting
Start
on
Reconnecting
Start
(
)
:
void
Returns
void
Abstract
on
RecvSEIMsg
on
RecvSEIMsg
(
userId
,
data
,
dataSize
)
:
void
Parameters
userId
:
bigint
data
:
Uint8Array
dataSize
:
number
Returns
void
on
Remote
Audio
Volume
Indication
on
Remote
Audio
Volume
Indication
(
volumeInfo
,
totalVolume
)
:
void
Parameters
volumeInfo
:
NERtcAudioVolumeInfo
[]
totalVolume
:
number
Returns
void
on
Remote
Subscribe
Fallback
To
Audio
Only
on
Remote
Subscribe
Fallback
To
Audio
Only
(
uid
,
isFallback
,
streamType
)
:
void
Parameters
uid
:
bigint
isFallback
:
boolean
streamType
:
NERtcVideoStreamType
Returns
void
on
Remote
Video
Size
Changed
on
Remote
Video
Size
Changed
(
uid
,
videoType
,
width
,
height
)
:
void
Parameters
uid
:
bigint
videoType
:
NERtcVideoStreamType
width
:
number
height
:
number
Returns
void
on
Remove
Live
Stream
Task
on
Remove
Live
Stream
Task
(
taskId
,
errorCode
)
:
void
Parameters
taskId
:
string
errorCode
:
number
Returns
void
on
Update
Live
Stream
Task
on
Update
Live
Stream
Task
(
taskId
,
url
,
errorCode
)
:
void
Parameters
taskId
:
string
url
:
string
errorCode
:
number
Returns
void
on
Update
Permission
Key
on
Update
Permission
Key
(
errorCode
,
data
,
timeoutInterval
)
:
void
Parameters
errorCode
:
number
data
:
string
timeoutInterval
:
bigint
Returns
void
on
User
Audio
Mute
on
User
Audio
Mute
(
uid
,
muted
)
:
void
Parameters
uid
:
bigint
muted
:
boolean
Returns
void
Abstract
on
User
Audio
Start
on
User
Audio
Start
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
Abstract
on
User
Audio
Stop
on
User
Audio
Stop
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
User
Data
Buffered
Amount
Changed
on
User
Data
Buffered
Amount
Changed
(
uid
,
previousAmount
)
:
void
Parameters
uid
:
bigint
previousAmount
:
bigint
Returns
void
on
User
Data
Receive
Message
on
User
Data
Receive
Message
(
uid
,
buffer
,
size
)
:
void
Parameters
uid
:
bigint
buffer
:
Uint8Array
size
:
bigint
Returns
void
on
User
Data
Start
on
User
Data
Start
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
User
Data
State
Changed
on
User
Data
State
Changed
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
User
Data
Stop
on
User
Data
Stop
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
Abstract
on
User
Joined
on
User
Joined
(
uid
,
extraInfo
?
)
:
void
Parameters
uid
:
bigint
Optional
extraInfo
:
NERtcUserJoinExtraInfo
Returns
void
Abstract
on
User
Leave
on
User
Leave
(
uid
,
reason
,
extraInfo
?
)
:
void
Parameters
uid
:
bigint
reason
:
number
Optional
extraInfo
:
NERtcUserLeaveExtraInfo
Returns
void
on
User
Sub
Stream
Audio
Mute
on
User
Sub
Stream
Audio
Mute
(
uid
,
muted
)
:
void
Parameters
uid
:
bigint
muted
:
boolean
Returns
void
on
User
Sub
Stream
Audio
Start
on
User
Sub
Stream
Audio
Start
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
User
Sub
Stream
Audio
Stop
on
User
Sub
Stream
Audio
Stop
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
User
Sub
Stream
Video
Mute
on
User
Sub
Stream
Video
Mute
(
uid
,
muted
)
:
void
Parameters
uid
:
bigint
muted
:
boolean
Returns
void
on
User
Sub
Stream
Video
Start
on
User
Sub
Stream
Video
Start
(
uid
,
maxProfile
)
:
void
Parameters
uid
:
bigint
maxProfile
:
NERtcVideoProfileType
Returns
void
on
User
Sub
Stream
Video
Stop
on
User
Sub
Stream
Video
Stop
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
User
Video
Mute
on
User
Video
Mute
(
uid
,
muted
)
:
void
Parameters
uid
:
bigint
muted
:
boolean
Returns
void
Abstract
on
User
Video
Start
on
User
Video
Start
(
uid
,
maxProfile
)
:
void
Parameters
uid
:
bigint
maxProfile
:
NERtcVideoProfileType
Returns
void
Abstract
on
User
Video
Stop
on
User
Video
Stop
(
uid
)
:
void
Parameters
uid
:
bigint
Returns
void
on
Video
Device
State
Changed
on
Video
Device
State
Changed
(
deviceState
)
:
void
Parameters
deviceState
:
number
Returns
void
on
Virtual
Background
Source
Enabled
on
Virtual
Background
Source
Enabled
(
enabled
,
reason
)
:
void
Parameters
enabled
:
boolean
reason
:
number
Returns
void
on
Warning
on
Warning
(
code
)
:
void
Parameters
code
:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
on
Add
Live
Stream
Task
on
Api
Call
Executed
on
Audio
Device
Changed
on
Audio
Device
State
Changed
on
Audio
Effect
Finished
on
Audio
Effect
Timestamp
Update
on
Audio
Mixing
State
Changed
on
Audio
Mixing
Timestamp
Update
on
Audio
Recording
on
Camera
Exposure
Changed
on
Camera
Focus
Changed
on
Client
Role
Change
on
Connection
State
Changed
on
Connection
Type
Changed
on
Disconnect
on
Error
on
First
Audio
Data
Received
on
First
Audio
Frame
Decoded
on
First
Video
Data
Received
on
First
Video
Frame
Decoded
on
First
Video
Frame
Render
on
Join
Channel
on
Lab
Feature
Callback
on
Lastmile
Probe
Result
on
Lastmile
Quality
on
Leave
Channel
on
Live
Stream
State
on
Local
Audio
Volume
Indication
on
Local
Publish
Fallback
To
Audio
Only
on
Local
Video
Render
Size
Changed
on
Local
Video
Watermark
State
on
Media
Relay
Receive
Event
on
Media
Relay
States
Change
on
Media
Right
Change
on
Permission
Key
Will
Expire
on
Re
Join
Channel
on
Reconnecting
Start
on
RecvSEIMsg
on
Remote
Audio
Volume
Indication
on
Remote
Subscribe
Fallback
To
Audio
Only
on
Remote
Video
Size
Changed
on
Remove
Live
Stream
Task
on
Update
Live
Stream
Task
on
Update
Permission
Key
on
User
Audio
Mute
on
User
Audio
Start
on
User
Audio
Stop
on
User
Data
Buffered
Amount
Changed
on
User
Data
Receive
Message
on
User
Data
Start
on
User
Data
State
Changed
on
User
Data
Stop
on
User
Joined
on
User
Leave
on
User
Sub
Stream
Audio
Mute
on
User
Sub
Stream
Audio
Start
on
User
Sub
Stream
Audio
Stop
on
User
Sub
Stream
Video
Mute
on
User
Sub
Stream
Video
Start
on
User
Sub
Stream
Video
Stop
on
User
Video
Mute
on
User
Video
Start
on
User
Video
Stop
on
Video
Device
State
Changed
on
Virtual
Background
Source
Enabled
on
Warning
NERtcSDK HarmonyOS
Loading...