Просмотр исходного кода

Merge pull request #80 from nrtkumi/fix/constant

Fix constant
matrixbirds 5 лет назад
Родитель
Сommit
24d1d8b556
No account linked to committer's email address
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      android/src/main/java/com/syan/agora/AgoraModule.java

+ 1
- 1
android/src/main/java/com/syan/agora/AgoraModule.java Просмотреть файл

@@ -160,7 +160,7 @@ public class AgoraModule extends ReactContextBaseJavaModule {
160 160
         constants.put(FixedPortrait, VideoEncoderConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_PORTRAIT.getValue());
161 161
         constants.put(Host, IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_BROADCASTER);
162 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 164
         constants.put(ChannelProfileLiveBroadcasting, Constants.CHANNEL_PROFILE_LIVE_BROADCASTING);
165 165
         constants.put(ChannelProfileGame, Constants.CHANNEL_PROFILE_GAME);
166 166
         constants.put(UserOfflineReasonQuit, Constants.USER_OFFLINE_QUIT);