Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
agora::rtc::MixedAudioStream Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| MixedAudioStream (AUDIO_SOURCE_TYPE source)
| MixedAudioStream (AUDIO_SOURCE_TYPE source, track_id_t track)
| MixedAudioStream (AUDIO_SOURCE_TYPE source, uid_t uid, const char *channel)
| MixedAudioStream (AUDIO_SOURCE_TYPE source, uid_t uid, const char *channel, track_id_t track)

## Public Attributes
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.

## Member Data Documentation

## ◆ sourceType

AUDIO_SOURCE_TYPE agora::rtc::MixedAudioStream::sourceType

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

## ◆ remoteUserUid

uid_t agora::rtc::MixedAudioStream::remoteUserUid

The ID of the remote user.

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

## ◆ channelId

const char* agora::rtc::MixedAudioStream::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 agora::rtc::MixedAudioStream::trackId

The track ID of the local track.

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