Browse Source

Fix constant

TakumiNara 5 years ago
parent
commit
2b85c464c5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      android/src/main/java/com/syan/agora/AgoraModule.java

+ 1
- 1
android/src/main/java/com/syan/agora/AgoraModule.java View File

160
         constants.put(FixedPortrait, VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_PORTRAIT.getValue());
160
         constants.put(FixedPortrait, VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_PORTRAIT.getValue());
161
         constants.put(Host, IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_BROADCASTER);
161
         constants.put(Host, IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_BROADCASTER);
162
         constants.put(Audience, IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_AUDIENCE);
162
         constants.put(Audience, IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_AUDIENCE);
163
-        constants.put(ChannelProfileCommunication, Constants.CHANNEL_PROFILE_LIVE_BROADCASTING);
163
+        constants.put(ChannelProfileCommunication, Constants.CHANNEL_PROFILE_COMMUNICATION);
164
         constants.put(ChannelProfileLiveBroadcasting, Constants.CHANNEL_PROFILE_LIVE_BROADCASTING);
164
         constants.put(ChannelProfileLiveBroadcasting, Constants.CHANNEL_PROFILE_LIVE_BROADCASTING);
165
         constants.put(ChannelProfileGame, Constants.CHANNEL_PROFILE_GAME);
165
         constants.put(ChannelProfileGame, Constants.CHANNEL_PROFILE_GAME);
166
         constants.put(UserOfflineReasonQuit, Constants.USER_OFFLINE_QUIT);
166
         constants.put(UserOfflineReasonQuit, Constants.USER_OFFLINE_QUIT);