TRTC参数调优

This commit is contained in:
huangjian
2022-05-25 11:42:43 +08:00
parent ddf27825e7
commit 3fd9385aa8
2 changed files with 4 additions and 4 deletions

View File

@@ -980,7 +980,7 @@ public class TRTCEngineAdapter extends BaseAdapterImpl {
if (role == CLIENT_ROLE_BROADCASTER) {
userRole = TRTCRoleAnchor;
if (!TRtcEngineManager.get().isMute) {
trtcCloud.startLocalAudio();
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_MUSIC);
}
} else if (role == CLIENT_ROLE_AUDIENCE) {
userRole = TRTCRoleAudience;
@@ -1087,7 +1087,7 @@ public class TRTCEngineAdapter extends BaseAdapterImpl {
return -1;
}
if (enabled) {
trtcCloud.startLocalAudio();
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_MUSIC);
} else {
trtcCloud.stopLocalAudio();
}

View File

@@ -23,5 +23,5 @@ only_arm64=false
channel_file=channel.txt
version_name=4.4.0
version_code=440
version_name=4.6.2
version_code=462