Class AGAudioRawDataDispatcher
Accessors
hasAudioTrackRawDataObservers
- get hasAudioTrackRawDataObservers(): boolean
hasMicrophoneRawDataObservers
- get hasMicrophoneRawDataObservers(): boolean
microphoneTrackRawDataConfig
Methods
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
event: "AudioRawDataRecored"
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
Parameters
event: "AudioRawDataRecored"
Returns void
Parameters
event: "AudioRawDataBeforeMixed"
Returns void
Parameters
Returns void
Parameters
event: "MicrophoneTrackCreated"
Returns void
Parameters
event: "AudioTrackSubscribed"
Returns void
Parameters
event: "MicrophoneTrackDestroyed"
Returns void
Parameters
event: "AudioTrackUnsubscribed"
Returns void
Parameters
Returns void
Parameters
Returns void
removeAudioRawDataObserver
unregister
Parameters
event: "AudioRawDataRecored"
Returns void
Parameters
event: "AudioRawDataBeforeMixed"
Returns void
Parameters
Returns void
Parameters
event: "MicrophoneTrackCreated"
Returns void
Parameters
event: "AudioTrackSubscribed"
Returns void
Parameters
event: "MicrophoneTrackDestroyed"
Returns void
Parameters
event: "AudioTrackUnsubscribed"
Returns void
Parameters
Returns void
Parameters
Returns void