Skip to content

Commit

Permalink
set audio maximum quality
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosUvaSilva committed Mar 1, 2021
1 parent 92f39c8 commit a5baff2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public int onStartCommand(Intent intent, int flags, int startId){
}

private void doJoinChannel(){
engine.setAudioProfile(Constants.AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO, Constants.AUDIO_SCENARIO_GAME_STREAMING);
engine.setChannelProfile(isSelfSpeaker ? Constants.CHANNEL_PROFILE_COMMUNICATION : Constants.CHANNEL_PROFILE_LIVE_BROADCASTING);
engine.joinChannel(channel.token, channel.channel, "", Integer.parseInt(ClubhouseSession.userID));
uiHandler.postDelayed(pinger, 30000);
Expand Down

0 comments on commit a5baff2

Please sign in to comment.