MixedAudioStream
在本地进行合流的音频源。
TypeScript
export class MixedAudioStream {
sourceType?: AudioSourceType;
remoteUserUid?: number;
channelId?: string;
trackId?: number;
}
sourceType
音频源的类型。详见 AudioSourceType。
remoteUserUid
远端用户 ID。
信息
当参与本地音频合流的音频源类型为 AudioSourceRemoteUser 时,需要设置该参数。
trackId
音频轨道 ID。将该参数设置为调用 createCustomAudioTrack 方法返回的自定义音频轨道 ID。
信息
当参与本地本地音频合流的音频源类型为 AudioSourceCustom 时,需要设置该参数。