Skip to content

Commit 1da0d62

Browse files
author
xia ning
authored
Merge pull request #241 from AgoraIO/staging
3.6.0 release
2 parents c0e0e56 + c167883 commit 1da0d62

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1577
-432
lines changed

Android/APIExample/app/src/main/java/io/agora/api/example/ExampleActivity.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import io.agora.api.example.examples.advanced.SwitchExternalVideo;
3434
import io.agora.api.example.examples.advanced.SetAudioProfile;
3535
import io.agora.api.example.examples.advanced.MultiProcess;
36+
import io.agora.api.example.examples.advanced.FaceBeauty;
3637
import io.agora.api.example.examples.advanced.VideoQuickSwitch;
3738
import io.agora.api.example.examples.advanced.RTMPStreaming;
3839
import io.agora.api.example.examples.advanced.StreamEncrypt;
@@ -158,6 +159,9 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
158159
case R.id.action_mainFragment_raw_audio:
159160
fragment = new ProcessAudioRawData();
160161
break;
162+
case R.id.action_mainFragment_video_enhancement:
163+
fragment = new FaceBeauty();
164+
break;
161165
default:
162166
fragment = new JoinChannelAudio();
163167
break;

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/ARCore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ private void joinChannel(String channelId)
294294
}
295295

296296
// Set audio route to microPhone
297-
engine.setDefaultAudioRoutetoSpeakerphone(false);
297+
engine.setDefaultAudioRoutetoSpeakerphone(true);
298298

299299
/** Sets the channel profile of the Agora RtcEngine.
300300
CHANNEL_PROFILE_COMMUNICATION(0): (Default) The Communication profile.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/ChannelEncryption.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private void joinChannel(String channelId)
207207
// Setup local video to render your local camera preview
208208
engine.setupLocalVideo(new VideoCanvas(surfaceView, RENDER_MODE_HIDDEN, 0));
209209
// Set audio route to microPhone
210-
engine.setDefaultAudioRoutetoSpeakerphone(false);
210+
engine.setDefaultAudioRoutetoSpeakerphone(true);
211211

212212
/** Sets the channel profile of the Agora RtcEngine.
213213
CHANNEL_PROFILE_COMMUNICATION(0): (Default) The Communication profile.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/CustomRemoteVideoRender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private void joinChannel(String channelId) {
174174
// Setup local video to render your local camera preview
175175
engine.setupLocalVideo(new VideoCanvas(surfaceView, RENDER_MODE_HIDDEN, 0));
176176
/**Set up to play remote sound with receiver*/
177-
engine.setDefaultAudioRoutetoSpeakerphone(false);
177+
engine.setDefaultAudioRoutetoSpeakerphone(true);
178178
engine.setEnableSpeakerphone(false);
179179

180180
/** Sets the channel profile of the Agora RtcEngine.

0 commit comments

Comments
 (0)