SetDirectCdnStreamingAudioConfiguration
Sets the audio profile of the audio streams directly pushed to the CDN by the host.
UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy")
int SetDirectCdnStreamingAudioConfiguration(EAUDIO_PROFILE_TYPE profile);
When you set the publishMicrophoneTrack or publishCustomAudioTrack in the FDirectCdnStreamingMediaOptions as true
to capture audios, you can call this method to set the audio profile.
Parameters
- profile
-
The audio profile, including the sampling rate, bitrate, encoding mode, and the number of channels. See EAUDIO_PROFILE_TYPE.
Returns
- 0: Success.
- < 0: Failure.