MixedAudioStream

Audio source for local audio mixing.

export class MixedAudioStream {
  sourceType?: AudioSourceType;
  remoteUserUid?: number;
  channelId?: string;
  trackId?: number;
}

Properties

sourceType
Type of the audio source. See AudioSourceType.
remoteUserUid
Remote user ID.
Note: This parameter is required when the audio source type for local audio mixing is AudioSourceRemoteUser.
trackId
Audio track ID. Set this to the custom audio track ID returned by the createCustomAudioTrack method.
Note: This parameter is required when the audio source type for local audio mixing is AudioSourceCustom.