From 2b85c464c594b8b67dae1ea60039dd8134d7e7fb Mon Sep 17 00:00:00 2001 From: TakumiNara Date: Fri, 19 Jul 2019 05:22:42 +0900 Subject: [PATCH] Fix constant --- android/src/main/java/com/syan/agora/AgoraModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/syan/agora/AgoraModule.java b/android/src/main/java/com/syan/agora/AgoraModule.java index baed94010..0f1374582 100644 --- a/android/src/main/java/com/syan/agora/AgoraModule.java +++ b/android/src/main/java/com/syan/agora/AgoraModule.java @@ -160,7 +160,7 @@ public Map getConstants() { constants.put(FixedPortrait, VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_PORTRAIT.getValue()); constants.put(Host, IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_BROADCASTER); constants.put(Audience, IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_AUDIENCE); - constants.put(ChannelProfileCommunication, Constants.CHANNEL_PROFILE_LIVE_BROADCASTING); + constants.put(ChannelProfileCommunication, Constants.CHANNEL_PROFILE_COMMUNICATION); constants.put(ChannelProfileLiveBroadcasting, Constants.CHANNEL_PROFILE_LIVE_BROADCASTING); constants.put(ChannelProfileGame, Constants.CHANNEL_PROFILE_GAME); constants.put(UserOfflineReasonQuit, Constants.USER_OFFLINE_QUIT);