AdjustCustomAudioPlayoutVolume
Adjusts the volume of the custom audio track played locally.
UFUNCTION(BlueprintCallable, Category = "Agora|RtcEngineProxy")
int AdjustCustomAudioPlayoutVolume(int64 trackId, int volume);
Details
Attention: Ensure you have called the CreateCustomAudioTrack method to create a custom audio track before calling this method.
If you want to change the volume of the audio to be played locally, you need to call this method again.
Parameters
- trackId
- The audio track ID. Set this parameter to the custom audio track ID returned in CreateCustomAudioTrack.
- volume
- The volume of the audio source. The value can range from 0 to 100. 0 means mute; 100 means the original volume.
Returns
- 0: Success.
- < 0: Failure.