Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AGAudioRawDataDispatcher

Index

Constructors

constructor

Properties

logger

Accessors

audioTrackRawDataConfig

hasAudioTrackRawDataObservers

  • get hasAudioTrackRawDataObservers(): boolean
  • Returns boolean

hasMicrophoneRawDataObservers

  • get hasMicrophoneRawDataObservers(): boolean
  • Returns boolean

isStarted

  • get isStarted(): boolean
  • Returns boolean

microphoneTrackRawDataConfig

Methods

addAudioRawDataObserver

dispatch

  • dispatch(event: "AudioRawDataRecored", ...params: [rawData: AgoraRteAudioRawData]): void
  • dispatch(event: "AudioRawDataBeforeMixed", ...params: [rawData: AgoraRteAudioRawData, streamUuid: string, channelName: string]): void
  • dispatch(event: "ObserverChanged", ...params: [position: AgoraRteAudioRawDataPosition]): void
  • dispatch(event: "MicrophoneTrackCreated", ...params: [track: ILocalAudioTrack]): void
  • dispatch(event: "AudioTrackSubscribed", ...params: [track: IRemoteAudioTrack, streamUuid: string, channelName: string]): void
  • dispatch(event: "MicrophoneTrackDestroyed", ...params: []): void
  • dispatch(event: "AudioTrackUnsubscribed", ...params: [streamUuid: string, channelName: string]): void
  • dispatch(event: "Start", ...params: []): void
  • dispatch(event: "Stop", ...params: []): void
  • Parameters

    Returns void

  • Parameters

    • event: "AudioRawDataBeforeMixed"
    • Rest ...params: [rawData: AgoraRteAudioRawData, streamUuid: string, channelName: string]

    Returns void

  • Parameters

    Returns void

  • Parameters

    • event: "MicrophoneTrackCreated"
    • Rest ...params: [track: ILocalAudioTrack]

    Returns void

  • Parameters

    • event: "AudioTrackSubscribed"
    • Rest ...params: [track: IRemoteAudioTrack, streamUuid: string, channelName: string]

    Returns void

  • Parameters

    • event: "MicrophoneTrackDestroyed"
    • Rest ...params: []

    Returns void

  • Parameters

    • event: "AudioTrackUnsubscribed"
    • Rest ...params: [streamUuid: string, channelName: string]

    Returns void

  • Parameters

    • event: "Start"
    • Rest ...params: []

    Returns void

  • Parameters

    • event: "Stop"
    • Rest ...params: []

    Returns void

register

removeAudioRawDataObserver

setConfig

start

  • start(): void
  • Returns void

stop

  • stop(): void
  • Returns void

unregister