Agora RTC Objective-C API Reference  Refactor
Data Fields
MixedAudioStream Struct Reference

Data Fields

AUDIO_SOURCE_TYPE sourceType
 
uid_t remoteUserUid
 
const char * channelId
 
track_id_t trackId
 

Detailed Description

The audio streams for the video mixing on the local client.

Constructor & Destructor Documentation

◆ MixedAudioStream() [1/4]

MixedAudioStream ( AUDIO_SOURCE_TYPE  source)
inline

◆ MixedAudioStream() [2/4]

MixedAudioStream ( AUDIO_SOURCE_TYPE  source,
track_id_t  track 
)
inline

◆ MixedAudioStream() [3/4]

MixedAudioStream ( AUDIO_SOURCE_TYPE  source,
uid_t  uid,
const char *  channel 
)
inline

◆ MixedAudioStream() [4/4]

MixedAudioStream ( AUDIO_SOURCE_TYPE  source,
uid_t  uid,
const char *  channel,
track_id_t  track 
)
inline

Field Documentation

◆ sourceType

AUDIO_SOURCE_TYPE sourceType

The source type of audio for the audio mixing on the local client. See AUDIO_SOURCE_TYPE.

◆ remoteUserUid

uid_t remoteUserUid

The ID of the remote user.

Note
Use this parameter only when the source type is AUDIO_SOURCE_REMOTE.

◆ channelId

const char* channelId

The channel ID of the remote user.

Note
Use this parameter only when the source type is AUDIO_SOURCE_REMOTE.

◆ trackId

track_id_t trackId

The track ID of the local track.

Note
Use this parameter only when the source type is AUDIO_SOURCE_REMOTE.