Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AGRtcManager

Index

Constructors

constructor

Methods

addAudioRawDataObserver

addCameraProcessors

  • addCameraProcessors(processors: IBaseProcessor[]): number
  • Parameters

    • processors: IBaseProcessor[]

    Returns number

addMicrophoneProcessors

  • addMicrophoneProcessors(processors: IBaseProcessor[]): number
  • Parameters

    • processors: IBaseProcessor[]

    Returns number

addPreviewCameraProcessors

  • addPreviewCameraProcessors(processors: IBaseProcessor[]): number
  • Parameters

    • processors: IBaseProcessor[]

    Returns number

addPreviewMicrophoneProcessors

  • addPreviewMicrophoneProcessors(processors: IBaseProcessor[]): number
  • Parameters

    • processors: IBaseProcessor[]

    Returns number

adjustLoopbackSignalVolume

destroy

  • destroy(): number
  • Returns number

enableLocalAudio

  • enableLocalAudio(enable: boolean): number
  • Parameters

    • enable: boolean

    Returns number

enableLocalVideo

  • enableLocalVideo(enable: boolean): number
  • Parameters

    • enable: boolean

    Returns number

enableLoopbackRecording

  • enableLoopbackRecording(enable: boolean, device?: string, connType?: AGRtcConnectionType): number
  • Parameters

    Returns number

enablePreviewLocalAudio

  • enablePreviewLocalAudio(enable: boolean): number
  • Parameters

    • enable: boolean

    Returns number

enablePreviewLocalVideo

  • enablePreviewLocalVideo(enable: boolean): number
  • Parameters

    • enable: boolean

    Returns number

getAudioDeviceManager

getCurrentFrameData

  • getCurrentFrameData(channelName: string, streamUuid: string, isLocal: boolean): ImageData
  • Parameters

    • channelName: string
    • streamUuid: string
    • isLocal: boolean

    Returns ImageData

getDisplayDevices

getRtcChannel

getVideoDeviceManager

getWindowDevices

hasScreenSharePermission

  • hasScreenSharePermission(): boolean
  • Returns boolean

isScreenDeviceEnumerateSupported

  • isScreenDeviceEnumerateSupported(): boolean
  • Returns boolean

onAutoPlayFailed

  • onAutoPlayFailed(cb: () => void): number
  • Parameters

    • cb: () => void
        • (): void
        • Returns void

    Returns number

onLocalAudioTrackStateChanged

onLocalAudioVolume

  • onLocalAudioVolume(cb: (volume: number) => void): number
  • Parameters

    • cb: (volume: number) => void
        • (volume: number): void
        • Parameters

          • volume: number

          Returns void

    Returns number

onLocalCameraListChanged

onLocalLoopbackDeviceStateChanged

onLocalPlaybackListChanged

onLocalRecordingDeviceListChanged

onLocalScreenShareTrackStateChanged

onLocalVideoTrackStateChanged

removeAudioRawDataObserver

removeCameraProcessors

  • removeCameraProcessors(): number
  • Returns number

removeMicrophoneProcessors

  • removeMicrophoneProcessors(): number
  • Returns number

removePreviewCameraProcessors

  • removePreviewCameraProcessors(): number
  • Returns number

removePreviewMicrophoneProcessors

  • removePreviewMicrophoneProcessors(): number
  • Returns number

setAudioPlaybackDevice

  • setAudioPlaybackDevice(deviceId: string): number
  • Parameters

    • deviceId: string

    Returns number

setAudioRawDataConfig

setAudioRecordingDevice

  • setAudioRecordingDevice(deviceId: string): number
  • Parameters

    • deviceId: string

    Returns number

setBeautyEffectOptions

  • setBeautyEffectOptions(enable: boolean, options: AGBeautyEffect): number

setVideoCameraDevice

  • setVideoCameraDevice(deviceId: string): number
  • Parameters

    • deviceId: string

    Returns number

setupLocalVideo

setupPreviewLocalVideo

setupRemoteVideo

startAudioPlaybackDeviceTest

  • startAudioPlaybackDeviceTest(url: string): number
  • Parameters

    • url: string

    Returns number

startAudioRecordingDeviceTest

  • startAudioRecordingDeviceTest(indicateInterval: number): number
  • Parameters

    • indicateInterval: number

    Returns number

startScreenCapture

  • startScreenCapture(params?: { audioDeviceName?: string; id?: string; type?: AGScreenShareType; withAudio?: boolean }): number
  • Parameters

    • Optional params: { audioDeviceName?: string; id?: string; type?: AGScreenShareType; withAudio?: boolean }
      • Optional audioDeviceName?: string
      • Optional id?: string
      • Optional type?: AGScreenShareType
      • Optional withAudio?: boolean

    Returns number

stopAudioPlaybackDeviceTest

  • stopAudioPlaybackDeviceTest(): number
  • Returns number

stopAudioRecordingDeviceTest

  • stopAudioRecordingDeviceTest(): number
  • Returns number

stopScreenCapture

  • stopScreenCapture(): number
  • Returns number

takeSnapshot

  • takeSnapshot(channel: string, streamUuid: number, filePath: string): Promise<void | AGSnapshotInfo>
  • Parameters

    • channel: string
    • streamUuid: number
    • filePath: string

    Returns Promise<void | AGSnapshotInfo>