Compare commits
5 Commits
molistar/1
...
simulator
Author | SHA1 | Date | |
---|---|---|---|
![]() |
aaf16f62f6 | ||
![]() |
fba5087842 | ||
![]() |
89faceebfc | ||
![]() |
ba4edf2805 | ||
![]() |
cebabbcc18 |
@@ -23,11 +23,7 @@ android {
|
||||
|
||||
ndk {
|
||||
//设置支持的SO库架构
|
||||
if (onlyArm64) {
|
||||
abiFilters "arm64-v8a"
|
||||
} else {
|
||||
abiFilters "armeabi-v7a", "arm64-v8a"
|
||||
}
|
||||
abiFilters "x86", "x86_64"
|
||||
}
|
||||
|
||||
flavorDimensions 'default'
|
||||
|
@@ -917,8 +917,7 @@ public class TRTCEngineAdapter extends BaseAdapterImpl {
|
||||
if (role == CLIENT_ROLE_BROADCASTER) {
|
||||
userRole = TRTCRoleAnchor;
|
||||
if (!TRtcEngineManager.get().isMute) {
|
||||
trtcCloud.getDeviceManager().setSystemVolumeType(TXDeviceManager.TXSystemVolumeType.TXSystemVolumeTypeMedia);
|
||||
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_DEFAULT);
|
||||
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_MUSIC);
|
||||
}
|
||||
} else if (role == CLIENT_ROLE_AUDIENCE) {
|
||||
userRole = TRTCRoleAudience;
|
||||
@@ -1009,8 +1008,7 @@ public class TRTCEngineAdapter extends BaseAdapterImpl {
|
||||
return -1;
|
||||
}
|
||||
if (enabled) {
|
||||
trtcCloud.getDeviceManager().setSystemVolumeType(TXDeviceManager.TXSystemVolumeType.TXSystemVolumeTypeMedia);
|
||||
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_DEFAULT);
|
||||
trtcCloud.startLocalAudio(TRTCCloudDef.TRTC_AUDIO_QUALITY_MUSIC);
|
||||
} else {
|
||||
trtcCloud.stopLocalAudio();
|
||||
}
|
||||
|
Reference in New Issue
Block a user