文档中心
互动直播 (Legacy)
API 参考
NodeRtcEngine | Agora Electron SDK API Reference
Electron SDK API Reference
Methods
adjustLoopbackRecordingSignalVolume
- adjustLoopbackRecordingSignalVolume(volume: number): number
-
Parameters
Returns number
createChannel
- createChannel(channel: string): any
followSystemPlaybackDevice
- followSystemPlaybackDevice(enable: boolean): number
-
Parameters
Returns number
followSystemRecordingDevice
- followSystemRecordingDevice(enable: boolean): number
-
Parameters
Returns number
getAudioFileInfo
- getAudioFileInfo(filePath: string): number
-
Parameters
Returns number
getEffectCurrentPosition
- getEffectCurrentPosition(soundId: number): number
-
Parameters
Returns number
getEffectDuration
- getEffectDuration(filePath: string): number
-
Parameters
Returns number
sendStreamMessageWithArrayBuffer
- sendStreamMessageWithArrayBuffer(streamId: number, buffer: UInt8ArrayBuffer): number
-
Parameters
Returns number
setAVSyncSource
- setAVSyncSource(channelId: string, uid: number): number
-
Parameters
-
channelId: string
-
uid: number
Returns number
setColorEnhanceOptions
-
Parameters
Returns number
setEffectPosition
- setEffectPosition(soundId: number, pos: number): number
-
Parameters
-
soundId: number
-
pos: number
Returns number
setLocalAccessPoint
-
Parameters
Returns number
setLogFileSize
- setLogFileSize(size: number): number
-
Parameters
Returns number
setLowlightEnhanceOptions
-
Parameters
Returns number
setProcessDpiAwareness
- setProcessDpiAwareness(): number
setRemoteUserPriority
- setRemoteUserPriority(uid: number, priority: Priority): number
-
Parameters
Returns number
setVideoDenoiserOptions
-
Parameters
Returns number
startAudioRecordingWithConfig
-
Parameters
Returns number
startScreenCapture2
- startScreenCapture2(windowId: number, captureFreq: number, rect: object, bitrate: number): number
-
Parameters
-
windowId: number
-
captureFreq: number
-
rect: object
-
bottom: number
-
left: number
-
right: number
-
top: number
-
bitrate: number
Returns number
stopAudioRecording
- stopAudioRecording(): number
videoSourceEnableWebSdkInteroperability
- videoSourceEnableWebSdkInteroperability(enabled: boolean): number
-
Parameters
Returns number
videoSourceJoin
- videoSourceJoin(token: string, cname: string, info: string, uid: number, options?: ChannelMediaOptions): number
-
Parameters
-
token: string
-
cname: string
-
info: string
-
uid: number
-
Returns number
videoSourceSetAddonLogFile
- videoSourceSetAddonLogFile(filepath: string): number
-
Parameters
Returns number
videoSourceSetLocalAccessPoint
-
Parameters
Returns number
videoSourceSetProcessDpiAwareness
- videoSourceSetProcessDpiAwareness(): number