Trouble Shooting
- Failed to archive Flutter iOS project due to compile issue
- Failed to archive React Native iOS project due to compile issue
- Failed to run React Native iOS App due to App Error
- Facing issues in React Native while installing POD library
- After project setup RNEnxRtc Plugin facing issue
- In Mobile SDK, audio is not audible after joining the call
- After getting connected to a Room, most videos appeared with “RED border” in the Active Talkers List
- After getting connected to a Room, most videos appears with some icons (e.g. Mic/Cam muted/unmuted) or with Avatar
- More than one file found with OS independent path ‘META-INF/LICENSE’ in Cordova for Android
- Exception encountered in class Lorg/webrtc/EglBase or in its super classes in flutter, e.g. No static method create()Lorg/webrtc/EglBase;
FAQs
- How to get full view of Active talkers rather than list of Active Talkers?
- How can i address multidex issue in Cordova for Android?
Trouble Shooting
Failed to archive Flutter iOS project due to compilation error
Reason: When an application is archived, it compiles all source code regardless if it is supported by the device. This issue is a result of EnableX iOS plugin not supporting simulator.
Solution: To fix this issue, simply delete armv7 from the valid architect. Check the snapshot given below and follow the suggested steps accordingly.
Failed to archive React Native iOS project due to compilation error
Reason: When an application is archived, it compiles all source code regardless if it is supported by the device. This issue is a result of EnableX iOS plugin not supporting simulator.
Solution: To fix this issue:
- Go to your Project Navigation > Pods > RNEnxRtc > Excluded Architecture
- Add armv7 here
Check the given snapshot below and follow the suggested steps.
Failed to run React Native iOS App due to App Error
Reason: It may be caused by caches.
Solution: To fix this issue, follow the suggested steps below:
- Step#1 Clean your iOS project
- Step#2 Delete your drive data
- Step#3 Uninstall POD (
pod deintegrate
) - Step#4 Clean POD (
pod clean
) - Step#5 Remove podFile (
rm podfile
) - Step#6 Install POD again (
pod install
) - Step#7 Open
yourappName.xcworkspace
- Step#8 Clean your project again
- Step#9 Connect your device and run
Facing issues in React Native while installing POD library
[!] The name of the given podspec RNEnxRtc
doesn’t match the expected one enx-rtc-react-native
Reason: We have renamed our EnableX react-native plug-in
Solution: To fix this issue, follow the suggested steps below:
- Go to your react-native Project folder > iOS > Podfile
- Change the following:
- Old:
pod 'enx-rtc-react-native', :path => '../node_modules/enx-rtc-react-native/ios/RNEnxRtc.podspec'
- New:
pod 'RNEnxRtc', :path => '../node_modules/enx-rtc-react-native/ios/RNEnxRtc.podspec
‘
- Old:
After project setup RNEnxRtc Plugin facing issue
Reason: This happens because EnableX plugin does not support “Bitcode” = true.
Solution: To fix this issue, follow the suggested steps below:
In Mobile SDK, audio is not audible after joining call
Reason: When a user joins EnableX Room, the audio plays on “Earpiece” by default.
Solution: After getting successful Stream Publish callback, the user needs to switch the Audio media device to “Speaker” or any other connected Audio device.
EnxRoom.switchMediaDevice(“Speaker”); // To switch to Speaker
To switch to any other Audio media device, you need to get a list of connected Audio media devices using the following method. Once done, use the Device name/ID to switch.
EnxRoom.getDevices(); // Get list of Devices
After getting connected to a Room, most videos appeared with “RED border” in the Active Talkers List
Solution: You need to configure Player Property. Set your preferred Color by changing the value for iconColor
inside playerConfiguration
in roominfo while joining the Room. The same colour will be applied to icons on the player.
PlayerConfiguration = { "iconColor" :"#012e4b" }
After getting connected to a Room, most videos appear with some icons (e.g. Mic/Cam muted/unmuted) or with Avatar
Solution: Theses icons appear when a user mutes his Microphone or switches off his Camera. To remove these icons, you need to set false in “playerConfiguration” when joining the Room.
PlayerConfiguration = { "avatar": false, // To hide Avatar "audiomute": false, // To hide Mic Icon "videomute": false, // To hide Camera Icon "bandwidth": false, // To hide Low bandwidth Icon "screenshot": false, // To hide Screen Shot Button "iconColor" :"#012e4b" // Icon Color };
More than one file found with OS independent path ‘META-INF/LICENSE’ in Cordova for Android
Solution: Use following code snippet in the app/gradle:
packagingOptions { exclude 'META-INF/DEPENDENCIES' }
Exception encountered in class Lorg/webrtc/EglBase or in its super classes in flutter, e.g. No static method create()Lorg/webrtc/EglBase;
Solution: Add the following code snippet in gradle.properties:
android.enableDexingArtifactTransform.desugaring=false
FAQs
How to get a full view of Active Talkers rather than a list of Active Talkers?
Answer: To get a complete holistic view of Active Talker, set “activeviews” = “view” in roomInfo at the time of joining the Room.
How can I address multidex issue in Cordova for Android?
Answer: Install multidex plugin in Cordova application.
npm install cordova-plugin-enable-multidex