Agora RTC Objective-C API Reference  Refactor
Properties
AgoraMixedAudioStream Class Reference

Inherits <NSObject>.

Properties

AgoraAudioSourceType sourceType
 
NSUInteger remoteUserUid
 
NSString *_Nullable channelId
 
NSUInteger trackId
 

Property Documentation

◆ sourceType

- (AgoraAudioSourceType) sourceType
readwritenonatomicassign

The type of the audio source. See AgoraAudioSourceType.

◆ remoteUserUid

- (NSUInteger) remoteUserUid
readwritenonatomicassign

The user ID of the remote user.

Note
Set this parameter if the source type of the locally mixed audio steams is AgoraAudioSourceRemoteUser.

◆ channelId

- (NSString* _Nullable) channelId
readwritenonatomiccopy

The channel name. This parameter signifies the channel in which users engage in real-time audio and video interaction. Under the premise of the same App ID, users who fill in the same channel ID enter the same channel for audio and video interaction. The string length must be less than 64 bytes. Supported characters (89 characters in total):

  • All lowercase English letters: a to z.
  • All uppercase English letters: A to Z.
  • All numeric characters: 0 to 9.
  • "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", ","
    Note
    Set this parameter if the source type of the locally mixed audio streams is AgoraAudioSourceRemoteChannel or AgoraAudioSourceRemoteUser.

◆ trackId

- (NSUInteger) trackId
readwritenonatomicassign

The audio track ID. Set this parameter to the custom audio track ID returned in createCustomAudioTrack:config:.

Note
Set this parameter if the source type of the locally mixed audio steams is AgoraAudioSourceCustom.