TRTC参数调优
This commit is contained in:
@@ -980,7 +980,7 @@ public class TRTCEngineAdapter extends BaseAdapterImpl {
|
|||||||
if (role == CLIENT_ROLE_BROADCASTER) {
|
if (role == CLIENT_ROLE_BROADCASTER) {
|
||||||
userRole = TRTCRoleAnchor;
|
userRole = TRTCRoleAnchor;
|
||||||
if (!TRtcEngineManager.get().isMute) {
|
if (!TRtcEngineManager.get().isMute) {
|
||||||
trtcCloud.startLocalAudio();
|
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_MUSIC);
|
||||||
}
|
}
|
||||||
} else if (role == CLIENT_ROLE_AUDIENCE) {
|
} else if (role == CLIENT_ROLE_AUDIENCE) {
|
||||||
userRole = TRTCRoleAudience;
|
userRole = TRTCRoleAudience;
|
||||||
@@ -1087,7 +1087,7 @@ public class TRTCEngineAdapter extends BaseAdapterImpl {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
trtcCloud.startLocalAudio();
|
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_MUSIC);
|
||||||
} else {
|
} else {
|
||||||
trtcCloud.stopLocalAudio();
|
trtcCloud.stopLocalAudio();
|
||||||
}
|
}
|
||||||
|
@@ -23,5 +23,5 @@ only_arm64=false
|
|||||||
|
|
||||||
channel_file=channel.txt
|
channel_file=channel.txt
|
||||||
|
|
||||||
version_name=4.4.0
|
version_name=4.6.2
|
||||||
version_code=440
|
version_code=462
|
Reference in New Issue
Block a user