MixedAudioStream
An audio source for local audio mixing.
export class MixedAudioStream {
sourceType?: AudioSourceType;
remoteUserUid?: number;
channelId?: string;
trackId?: number;
}
Properties
- sourceType
- The type of audio source. See AudioSourceType.
- remoteUserUid
- The remote user ID.
Note: You need to set this parameter when the type of audio source for local audio mixing is
AudioSourceRemoteUser. - trackId
- The audio track ID. Set this parameter to the custom audio track ID returned by the createCustomAudioTrack method.
Note: You need to set this parameter when the type of audio source for local audio mixing is
AudioSourceCustom.