AgoraMixedAudioStream
表示本地混音的音频流来源。
Objective-C
__attribute__((visibility("default"))) @interface AgoraMixedAudioStream: NSObject
@property (assign, nonatomic) AgoraAudioSourceType sourceType;
@property (assign, nonatomic) NSUInteger remoteUserUid;
@property (copy, nonatomic) NSString * _Nullable channelId;
@property (assign, nonatomic) NSUInteger trackId;
@end
sourceType
音频源的类型,详见 AgoraAudioSourceType。
remoteUserUid
远端用户 ID。
信息
当本地混音的音频源类型为
AgoraAudioSourceRemoteUser 时,需设置该参数。channelId
信息
当本地混音的音频源类型为
AgoraAudioSourceRemoteChannel 或 AgoraAudioSourceRemoteUser 时,需设置该参数。- 所有小写英文字母:a 到 z。
- 所有大写英文字母:A 到 Z。
- 所有数字字符:0 到 9。
- 特殊字符:"!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", ","
trackId
音频轨道 ID。
信息
当本地混音的音频源类型为
AgoraAudioSourceCustom 时,需设置该参数。