Hierarchy

Properties

addLiveStreamTask: ((taskInfo) => Promise<NEResult<null>>)

Type declaration

    • (taskInfo): Promise<NEResult<null>>
    • 添加房间推流任务 成功调用该方法后,当前用户可以收到该直播流的状态通知 (该方法仅适用直播场景,请在房间内调用该方法,该方法在通话中有效。该方法每次只能增加一路旁路推流地址。如需推送多路流,则需多次调用该方法。同一个音视频房间(即同一个 channelid)可以创建 3 个不同的推流任务)

      Parameters

      Returns Promise<NEResult<null>>

getBackgroundInfo: (() => Promise<NEResult<NERoomLiveBackgroundInfo>>)

Type declaration

getLiveInfo: (() => null | NERoomLiveInfo)

Type declaration

isSupported: boolean
removeLiveStreamTask: ((taskId) => Promise<NEResult<null>>)

Type declaration

    • (taskId): Promise<NEResult<null>>
    • 删除房间推流任务 (该方法仅适用直播场景,请在房间内调用该方法,该方法在通话中有效)

      Parameters

      • taskId: string

        推流任务 ID

      Returns Promise<NEResult<null>>

startLive: ((request) => Promise<NEResult<NERoomLiveInfo>>)

Type declaration

stopLive: (() => Promise<NEResult<null>>)

Type declaration

updateBackgroundInfo: ((param) => Promise<NEResult<number>>)

Type declaration

updateLive: ((request) => Promise<NEResult<NERoomLiveInfo>>)

Type declaration

updateLiveStreamTask: ((taskInfo) => Promise<NEResult<null>>)

Type declaration

    • (taskInfo): Promise<NEResult<null>>
    • 更新修改房间推流任务 该方法仅适用直播场景 请在房间内调用该方法,该方法在通话中有效

      Parameters

      Returns Promise<NEResult<null>>