Closed nikul-nyu closed 2 months ago
What server are you connecting to? Can you please provide logs?
Hosted our own server. It was working completly fine with the older version. Having issue after updating to 2.2.1. Also if we connect from one device with older version app and one with newer then also it works fine. But when both the devices have newer version its having issue.
What versions of the server components are you using?
INFO 2024-05-16T09:40:22.947Z [JitsiConference.js] Audio unmute permissions set by Jicofo to false INFO 2024-05-16T09:40:22.952Z [JitsiConference.js] Video unmute permissions set by Jicofo to false
Getting some logs like this , is these can cause this issue?. If yes can you provide solution for this.
Amswer my questions please.
let me check with that backend dev. Meanwhile can you please suggest something for this
INFO 2024-05-16T09:40:22.947Z [JitsiConference.js] Audio unmute permissions set by Jicofo to false INFO 2024-05-16T09:40:22.952Z [JitsiConference.js] Video unmute permissions set by Jicofo to false
Getting some logs like this , is these can cause this issue?. If yes can you provide solution for this
@damencho what do those logs mean?
These are normal. These are when there are some limits ... and jicofo is updating some clients that they cannot unmute ... Something like that ...
Then what can be the reason that after upgrading to 2.2.1 video is showing blank in video call. On the same server and app with older sdk version its working fine.
The versions of the backend.
Without knowing what server component versions and full logs we can't help you.
INFO 2024-05-16T12:07:50.528Z [features/base/redux] redux state rehydrated as {"features/authentication": {}, "features/base/known-domains": ["alpha.jitsi.net", "beta.meet.jit.si", "meet.jit.si", "8x8.vc", "meet.emotionaltouchapp.com"], "features/base/settings": {"audioOutputDeviceId": undefined, "avatarURL": undefined, "cameraDeviceId": undefined, "disableCallIntegration": true, "disableCrashReporting": undefined, "disableP2P": undefined, "disableSelfView": false, "displayName": undefined, "email": undefined, "hideShareAudioHelper": false, "localFlipX": true, "maxStageParticipants": 1, "micDeviceId": undefined, "serverURL": "https://meet.emotionaltouchapp.com/", "soundsIncomingMessage": true, "soundsParticipantJoined": true, "soundsParticipantKnocking": true, "soundsParticipantLeft": true, "soundsReactions": true, "soundsTalkWhileMuted": true, "startAudioOnly": false, "startCarMode": false, "startWithAudioMuted": false, "startWithVideoMuted": false, "userSelectedAudioOutputDeviceId": undefined, "userSelectedAudioOutputDeviceLabel": undefined, "userSelectedCameraDeviceId": undefined, "userSelectedCameraDeviceLabel": undefined, "userSelectedMicDeviceId": undefined, "userSelectedMicDeviceLabel": undefined, "userSelectedNotifications": {"notify.chatMessages": true}, "userSelectedSkipPrejoin": undefined}, "features/calendar-sync": {}, "features/dropbox": {}, "features/recent-list": [{"conference": "https://meet.emotionaltouchapp.com/65973_3831_276", "date": 1715852421753, "duration": 170979}, {"conference": "https://meet.emotionaltouchapp.com/84271_3831_276", "date": 1715854020801, "duration": 288189}, {"conference": "https://meet.emotionaltouchapp.com/42993_3832_276", "date": 1715854874849, "duration": 85805}, {"conference": "https://meet.emotionaltouchapp.com/85724_3832_276", "date": 1715854987437, "duration": 862447}, {"conference": "https://meet.emotionaltouchapp.com/95029_3831_276", "date": 1715856349964, "duration": 13960}, {"conference": "https://meet.emotionaltouchapp.com/13883_276_3831", "date": 1715856423917, "duration": 22423}, {"conference": "https://meet.emotionaltouchapp.com/65010_276_3831", "date": 1715856592609, "duration": 31177}, {"conference": "https://meet.emotionaltouchapp.com/17345_276_3831", "date": 1715856825348, "duration": 146395}], "features/video-quality-persistent-storage": {}}
INFO 2024-05-16T12:07:50.539Z [features/full-screen] Setting full-screen mode: false
WARN 2024-05-16T12:07:50.543Z [features/base/sounds] PLAY_SOUND: no sound found for id: RECORDING_OFF_SOUND
INFO 2024-05-16T12:07:50.802Z [features/base/net-info] Network changed {"isOnline":true,"details":{"ipAddress":"192.168.0.234","subnet":"255.255.255.0","isConnectionExpensive":false},"networkType":"wifi"}
DEBUG 2024-05-16T12:07:50.802Z [modules/connectivity/NetworkInfo.js] : Create new TPC[id=1,type=JVB]
INFO 2024-05-16T12:07:55.333Z [JitsiConference.js] SCTP: offered=true, prefered=false
INFO 2024-05-16T12:07:55.333Z [JitsiConference.js] Using colibri-ws url wss://meet.emotionaltouchapp.com:443/colibri-ws/default-id/b7c4965b3618fe4e/c1063f38?pwd=7ts0m747r5loqkdo434hucr29f
INFO 2024-05-16T12:07:55.334Z [modules/RTC/TraceablePeerConnection.js] TPC[id=1,type=JVB] adding LocalTrack[1,audio]
LOG rn-webrtc:pc:DEBUG 0 addTrack +3ms
INFO 2024-05-16T12:07:55.337Z [modules/RTC/TraceablePeerConnection.js] TPC[id=1,type=JVB] adding LocalTrack[2,video]
LOG rn-webrtc:pc:DEBUG 0 addTrack +2ms
LOG rn-webrtc:pc:DEBUG 0 getStats +8ms
LOG rn-webrtc:pc:DEBUG 0 setRemoteDescription +21ms
LOG rn-webrtc:pc:DEBUG 0 ontrack +2ms
LOG rn-webrtc:pc:DEBUG 0 ontrack +1ms
LOG rn-webrtc:pc:DEBUG 0 setRemoteDescription OK +1ms
LOG rn-webrtc:pc:DEBUG 0 createAnswer +1ms
LOG rn-webrtc:pc:DEBUG 0 setLocalDescription +7ms
LOG rn-webrtc:pc:DEBUG 0 setLocalDescription OK +243ms
INFO 2024-05-16T12:07:55.628Z [modules/xmpp/JingleSessionPC.js]
: Create new TPC[id=2,type=P2P]
INFO 2024-05-16T12:07:56.236Z [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] adding LocalTrack[1,audio]
LOG rn-webrtc:pc:DEBUG 1 addTrack +0ms
INFO 2024-05-16T12:07:56.238Z [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] adding LocalTrack[2,video]
LOG rn-webrtc:pc:DEBUG 1 addTrack +2ms
LOG rn-webrtc:pc:DEBUG 1 setRemoteDescription +13ms
LOG rn-webrtc:pc:DEBUG 1 ontrack +2ms
LOG rn-webrtc:pc:DEBUG 1 ontrack +1ms
INFO 2024-05-16T12:07:56.255Z [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] Received track event for remote stream[id=6dd5a264-audio-0-1,type=audio]
INFO 2024-05-16T12:07:56.256Z [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] creating remote track[endpoint=6dd5a264,ssrc=212948704,type=audio,sourceName=6dd5a264-a0]
INFO 2024-05-16T12:07:56.256Z [JitsiConference.js] Trying to add remote P2P track, when not in P2P - IGNORED
INFO 2024-05-16T12:07:56.256Z [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] Received track event for remote stream[id=6dd5a264-video-0-1,type=video]
INFO 2024-05-16T12:07:56.256Z [modules/RTC/TraceablePeerConnection.js] TPC[id=2,type=P2P] creating remote track[endpoint=6dd5a264,ssrc=667546192,type=video,sourceName=6dd5a264-v0]
INFO 2024-05-16T12:07:56.256Z [JitsiConference.js] Trying to add remote P2P track, when not in P2P - IGNORED
LOG rn-webrtc:pc:DEBUG 1 setRemoteDescription OK +2ms
LOG rn-webrtc:pc:DEBUG 1 createAnswer +0ms
LOG rn-webrtc:pc:DEBUG 1 setLocalDescription +9ms
LOG rn-webrtc:pc:DEBUG 1 setLocalDescription OK +3ms
INFO 2024-05-16T12:07:56.272Z [modules/xmpp/JingleSessionPC.js]
useState useContext ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
in AppStackScreen (created by Navigation)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by Navigation)
in Navigation (created by App)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by App)
in Provider (created by App)
in RCTView (created by View)
in View (created by App)
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in emotionaltouch(RootComponent)
INFO 2024-05-16T12:08:34.910Z [features/app] appNavigate to undefined
INFO 2024-05-16T12:08:34.913Z [features/full-screen] Setting full-screen mode: false
LOG 2024-05-16T12:08:34.927Z [modules/xmpp/ChatRoom.js]
<JitsiMeeting eventListeners={eventListeners} ref={jitsiMeeting} style={{ flex: 1 }} config={{ disablePolls: true, videoMuted: !isVideo, startWithVideoMuted: !isVideo, disableSelfView: !isVideo, startAudioOnly: !isVideo, // disableLocalVideoFlip: true, toolbarConfig: { timeout: 10000, }, // disableSelfView: false, prejoinConfig: { enabled: false, startWithVideoMuted: !isVideo, }, }} flags={ { "unsaferoomwarning.enabled": false, "car-mode.enabled": false, "video-mute.enabled": false, "call-integration.enabled": false, "android.screensharing.enabled": false, "replace.participant": false, "invite.enabled": false, "add-people.enabled": false, "raise-hand.enabled": false, "settings.enabled": false, "chat.enabled": false, "conference-timer.enabled": false, "reactions.enabled": false, "lobby-mode.enabled": false, "security-options.enabled": false, "recording.enabled": true, "ios.recording.enabled": true, "meeting-name.enabled": false, // 'overflow-menu.enabled': false, // 'breakout-rooms.enabled': false, // 'tile-view.enabled': false, 'toolbox.enabled':false,/// for hiding all option 'notifications.enabled':false, } } room={room} serverURL={"https://meet.emotionaltouchapp.com/"} />
Do the official apps work with your server?
@saghul Yes, can you please share for React native sdk version 2.2.1, what are the compatable server component versions?
Yes, can you please share for React native sdk version 2.2.1, what are the compatable server component versions?
There is no specific version per se, but in general a very old version won't do.
Now, if the official apps work, then the RN SDK should, since it's pretty much the same thing.
So, let's start by testing this: please remove all options you pass to the meeting to hide buttons or tweak any behavior. Does that help?
@saghul Let me try this, and get back to you.
@saghul I removed all the options and flags, but still the same issue video not visible.
@Calinteodor Can you PTAL?
@saghul @nikul-nyu I am unable to reproduce it. I tried https://meet.emotionaltouchapp.com/ and https://meet.jit.si/ using this sample app https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/react-native. On both, video and audio work as expected.
@saghul @Calinteodor Its working fine when both device are IOS, but when one user is connected from Android & one from IOS its not showing video, can you please check this scenario?
Checked it with one user from Android and one from IOS. I get video for both participants. Maybe you can try and reproduce this issue the same way I did, by using the sample app mentioned in the comment above.
@saghul @Calinteodor I have implemented all same as this demo app in my app, but still having issue in android, in ios to ios working fine. Below are logs of android to android can you please take a look and see if you can pointout what can be the reason? It will be great help. Thanks
2024-05-20T11:10:56.940Z [features/base/redux] redux state rehydrated as {"features/authentication": {}, "features/base/known-domains": ["alpha.jitsi.net", "beta.meet.jit.si", "meet.jit.si", "8x8.vc", "meet.emotionaltouchapp.com"], "features/base/settings": {"audioOutputDeviceId": undefined, "avatarURL": undefined, "cameraDeviceId": undefined, "disableCallIntegration": true, "disableCrashReporting": undefined, "disableP2P": undefined, "disableSelfView": false, "displayName": undefined, "email": undefined, "hideShareAudioHelper": false, "localFlipX": true, "maxStageParticipants": 1, "micDeviceId": undefined, "serverURL": "https://meet.emotionaltouchapp.com/", "soundsIncomingMessage": true, "soundsParticipantJoined": true, "soundsParticipantKnocking": true, "soundsParticipantLeft": true, "soundsReactions": true, "soundsTalkWhileMuted": true, "startAudioOnly": false, "startCarMode": false, "startWithAudioMuted": false, "startWithVideoMuted": false, "userSelectedAudioOutputDeviceId": undefined, "userSelectedAudioOutputDeviceLabel": undefined, "userSelectedCameraDeviceId": undefined, "userSelectedCameraDeviceLabel": undefined, "userSelectedMicDeviceId": undefined, "userSelectedMicDeviceLabel": undefined, "userSelectedNotifications": {"notify.chatMessages": true}, "userSelectedSkipPrejoin": undefined}, "features/calendar-sync": {}, "features/dropbox": {}, "features/recent-list": [{"conference": "https://meet.emotionaltouchapp.com/54847_3832_276", "date": 1716203209932, "duration": 22126}], "features/video-quality-persistent-storage": {}}
LOG empty
LOG empty
LOG empty
LOG getOnlineOflineStatus {"userId": 3832} event datd
LOG getChatMessage {"fromId": 276, "toId": 3832} event datd
LOG getLogMessage {"fromId": 276, "toId": 3832} event datd
LOG {"first_communication": 0, "from_id": 276, "full_name": "Test2", "profile_photo": null, "request_id": 13925, "request_status": "accepted", "room_name": "43025_3832_276", "service_type": "vcall", "to_id": 3832, "user_id": 3832} requestmodal123
INFO 2024-05-20T11:10:56.975Z [features/full-screen] Setting full-screen mode: false
WARN 2024-05-20T11:10:56.980Z [features/base/sounds] PLAY_SOUND: no sound found for id: RECORDING_OFF_SOUND
LOG {"last_seen": null, "online_status": 1, "service_availability": null, "service_toggle_status": 1, "user_id": 3832} response of online
LOG {"isVideo": true, "room": "43025_3832_276"} props at meeting...
LOG {"isVideo": true, "room": "43025_3832_276"} props at meeting...
INFO 2024-05-20T11:10:57.485Z [features/base/net-info] Network changed {"isOnline":true,"details":{"isConnectionExpensive":true,"txLinkSpeed":72,"rxLinkSpeed":72,"linkSpeed":72,"subnet":"255.255.255.0","ipAddress":"192.168.159.117","frequency":2462,"strength":99,"bssid":"02:00:00:00:00:00"},"networkType":"wifi"}
INFO 2024-05-20T11:10:57.490Z [features/app] appNavigate to https://meet.emotionaltouchapp.com/43025_3832_276#config.disablePolls=true&config.videoMuted=false&config.startWithVideoMuted=false&config.disableSelfView=false&config.startAudioOnly=false&config.toolbarConfig=%7B%22timeout%22%3A10000%7D&config.prejoinConfig=%7B%22enabled%22%3Afalse%2C%22startWithVideoMuted%22%3Afalse%7D
INFO 2024-05-20T11:10:57.522Z [features/base/connection] No connection found while disconnecting.
INFO 2024-05-20T11:10:57.529Z [features/app] appNavigate to https://meet.emotionaltouchapp.com/43025_3832_276#config.disablePolls=true&config.videoMuted=false&config.startWithVideoMuted=false&config.disableSelfView=false&config.startAudioOnly=false&config.toolbarConfig=%7B%22timeout%22%3A10000%7D&config.prejoinConfig=%7B%22enabled%22%3Afalse%2C%22startWithVideoMuted%22%3Afalse%7D
INFO 2024-05-20T11:10:57.556Z [features/base/connection] No connection found while disconnecting.
INFO 2024-05-20T11:10:57.568Z [features/app] Loaded SDK undefined
LOG {"last_seen": null, "online_status": 1, "service_availability": null, "service_toggle_status": 1, "user_id": 3832} response of online
LOG {"isVideo": true, "room": "43025_3832_276"} props at meeting...
LOG {"isVideo": true, "room": "43025_3832_276"} props at meeting...
INFO 2024-05-20T11:10:58.723Z [features/base/lib-jitsi-meet] Config loaded from https://meet.emotionaltouchapp.com/config.js?room=43025_3832_276
INFO 2024-05-20T11:10:58.819Z [features/base/lib-jitsi-meet] Config loaded from https://meet.emotionaltouchapp.com/config.js?room=43025_3832_276
INFO 2024-05-20T11:10:58.828Z [features/base/config] Extending config with: {"disablePolls":true,"disableSelfView":false,"prejoinConfig":{"enabled":false,"startWithVideoMuted":false},"startAudioOnly":false,"startWithVideoMuted":false,"toolbarConfig":{"timeout":10000}}
INFO 2024-05-20T11:10:58.840Z [JitsiMeetJS.ts] : Using RTCRtpTransceiver#setCodecPreferences for codec selection
INFO 2024-05-20T11:11:01.768Z [modules/RTC/TraceablePeerConnection.js]
: Create new TPC[id=3,type=P2P]
INFO 2024-05-20T11:11:01.772Z [modules/RTC/TraceablePeerConnection.js]
: Using RTCRtpTransceiver#setCodecPreferences for codec selection
INFO 2024-05-20T11:11:02.908Z [modules/RTC/TraceablePeerConnection.js]
: Create new TPC[id=4,type=JVB]
INFO 2024-05-20T11:11:02.910Z [JitsiConference.js]
What Android version and device are you using?
Samsung device android version 14 Oneplus nord - android version 13
@Calinteodor Also i'm not able to run the demo app you shared in android, its showing some gradle version issues.
Can you please try fixing those gradle issues and run the sample app on your end? Thank you.
Let me try that, will get back to you.
@Calinteodor After running when i try to join a room it shows - "The meeting has been locked by a participant. Please enter the password to join", How to join as moderator?
See i have same package.json versions, same manifest file changes as the demo still having issue in video call.
"dependencies": { "@amplitude/react-native": "2.7.0", "@braintree/sanitize-url": "7.0.0", "@giphy/react-native-sdk": "2.3.0", "@jitsi/react-native-sdk": "2.2.1", "@react-native-async-storage/async-storage": "1.19.4", "@react-native-community/cli-platform-android": "^9.3.1", "@react-native-community/clipboard": "1.5.1", "@react-native-community/datetimepicker": "^6.7.0", "@react-native-community/netinfo": "11.1.0", "@react-native-community/slider": "4.4.3", "@react-native-firebase/analytics": "^19.1.1", "@react-native-firebase/app": "^19.0.0", "@react-native-firebase/crashlytics": "^19.1.1", "@react-native-firebase/messaging": "^19.0.0", "@react-native-google-signin/google-signin": "10.1.0", "@react-native-masked-view/masked-view": "^0.2.8", "@react-native-picker/picker": "^2.4.8", "@react-native/metro-config": "0.72.9", "@react-navigation/bottom-tabs": "^6.5.5", "@react-navigation/drawer": "^5.x", "@react-navigation/material-top-tabs": "^6.5.1", "@react-navigation/native": "^6.0.11", "@react-navigation/native-stack": "^6.4.0", "@react-navigation/stack": "^6.2.1", "add": "^2.0.6", "axios": "^0.21.1", "date-fns": "^2.29.2", "i18n-iso-countries": "6.8.0", "i18next": "17.0.6", "i18next-http-backend": "^2.2.1", "moment": "^2.29.4", "react": "18.2.0", "react-i18next": "10.11.4", "react-native": "0.72.3", "react-native-actionsheet": "^2.4.2", "react-native-animatable": "^1.3.3", "react-native-app-intro-slider": "^4.0.4", "react-native-background-timer": "2.4.1", "react-native-calendar-events": "2.2.0", "react-native-calendars": "^1.1291.1", "react-native-camera": "^4.2.1", "react-native-country-picker-modal": "^2.0.0", "react-native-default-preference": "1.4.4", "react-native-device-info": "10.9.0", "react-native-dotenv": "^3.3.1", "react-native-element-dropdown": "^2.1.0", "react-native-fast-image": "8.6.3", "react-native-fbsdk-next": "^12.1.3", "react-native-flash-message": "^0.3.1", "react-native-fs": "^2.20.0", "react-native-gesture-handler": "2.9.0", "react-native-get-random-values": "1.9.0", "react-native-gifted-chat": "^2.4.0", "react-native-i18n-localize": "^1.0.4", "react-native-image-picker": "^4.10.0", "react-native-image-slider-banner": "^1.0.3", "react-native-immersive-mode": "2.0.1", "react-native-indicators": "^0.17.0", "react-native-keep-awake": "4.0.0", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-linear-gradient": "^2.6.2", "react-native-localize": "^3.0.2", "react-native-modal-datetime-picker": "^14.0.0", "react-native-modal-popover": "^2.1.3", "react-native-modalize": "^2.1.1", "react-native-orientation-locker": "1.6.0", "react-native-otp-textinput": "^1.0.0", "react-native-pager-view": "6.2.0", "react-native-paper": "5.10.3", "react-native-performance": "5.0.0", "react-native-permissions": "^4.1.5", "react-native-phone-number-input": "^2.1.0", "react-native-popover-view": "^5.1.2", "react-native-popup-menu": "^0.16.1", "react-native-range-slider": "^0.1.2", "react-native-ratings": "^8.1.0", "react-native-razorpay": "^2.3.0", "react-native-read-more-text": "^1.1.2", "react-native-reanimated": "3.4.1", "react-native-rename": "^3.2.13", "react-native-responsive-screen": "^1.4.2", "react-native-restart": "^0.0.24", "react-native-safe-area-context": "4.7.1", "react-native-safe-area-view": "^1.1.1", "react-native-screens": "3.24.0", "react-native-screenshot-prevent": "^1.1.9", "react-native-skeleton-placeholder": "^5.2.4", "react-native-slider": "^0.11.0", "react-native-snackbar": "^2.4.0", "react-native-sound": "0.11.2", "react-native-splash-screen": "3.3.0", "react-native-status-bar-height": "^2.6.0", "react-native-svg": "13.13.0", "react-native-swipe-gestures": "^1.0.5", "react-native-swiper": "^1.6.0", "react-native-tab-view": "^3.3.4", "react-native-toast-notifications": "^3.3.1", "react-native-vector-icons": "^9.2.0", "react-native-version-check": "^3.4.7", "react-native-video": "6.0.0-alpha.11", "react-native-watch-connectivity": "1.1.0", "react-native-webrtc": "118.0.6", "react-native-webview": "13.5.1", "react-native-wheel-picker-android": "^2.0.6", "react-navigation-drawer": "^2.7.2", "react-redux": "^8.0.5", "redux": "^4.1.1", "redux-saga": "1.2.1", "rn-swipe-button": "^1.3.8", "socket.io-client": "4.7.2", "text-encoding": "0.7.0", "yarn": "^1.22.21" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native/eslint-config": "^0.72.2", "@react-native/metro-config": "^0.72.11", "@tsconfig/react-native": "^3.0.0", "@types/react": "^18.0.24", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.2.1", "eslint": "^8.19.0", "jest": "^29.2.1", "metro-react-native-babel-preset": "0.76.8", "prettier": "^2.4.1", "react-test-renderer": "18.2.0", "typescript": "4.8.4" }, "engines": { "node": ">=16" }, "overrides": { "@xmldom/xmldom": "0.8.7" }
<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" package="com.emotionaltouch">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
<uses-permission android:name="android.permission.POST_NOTIFICATION" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:usesCleartextTraffic="true"
tools:replace="android:usesCleartextTraffic,android:theme"
android:theme="@style/AppTheme">
<!-- <service-->
<!-- android:name="org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService"-->
<!-- android:foregroundServiceType="mediaProjection"-->
<!-- tools:ignore="MissingClass" />-->
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
<meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>
<meta-data
android:name="asset_statements"
android:resource="@string/asset_statements" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="@string/default_notification_channel_id"
tools:replace="android:value"
/>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="https"
android:host="backend.emotionaltouchapp.com"
android:pathPattern="/share" />
</intent-filter>
</activity>
<!-- <service
android:name="org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService"
android:foregroundServiceType="mediaProjection"
tools:ignore="MissingClass" /> -->
</application>
meet.jit.si server url has authentication enabled. You can replace that with your own. Also please follow this dev guide
https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-react-native-sdk/
maybe you missed something.
@Calinteodor I have followed all the steps and reverified multiple times. Maybe the issue is something else. Which react native version you have used in your demo?
Can you please check the package.json file in the sample app? I checked the sample app yesterday and everything worked as expected. I also changed the server url to match the one you provided.
@saghul @Calinteodor Video is working fine now but with Android os 13, when i call from Android OS 14 version its crashing in video call, DO you have any idea about that?
Please share the backtrace, it's impossible to tell otherwise...
Crashed: Thread: SIGABRT 0x0000000000000000
Is this a simulator?
@saghul No, i checked in Samsung device with OS version 14, in and 2 devices with OS version 13 it worked fine
I've got a Samsung phone with Android 14, I'll check it there.
@saghul Have you checked?, please check with 2 android 14 devices having issue only in android 14 devices
Not yet, something is wrong in the sample app and @Calinteodor is taking a look.
@saghul @Calinteodor Please update as soon as it gets fixed
@saghul @Calinteodor I have checked in 5-6 devices and came to conclusion that the issue is happening in Oneplus devices with android version 14. Any particular change needed for that?
Wasn't it Samsung? I'm confused.
To be clear, we don't do anything which is device specific, so right off the bat I don't know what the problem could be.
Yes first it was issue with the all android 14 devices, then i add
"<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />"
this permission in manifest. Then its working fine in all devices other than Oneplus device with OS version 14.
Good to hear!
Alas I don't have access to such a device, but I'll check our Crashlytics logs.
Have you found anything from logs?
@Calinteodor After adding
"<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />"
does it worked?
I added it to the sample app, but there is no change. Still looking into it. Plus, the issue that I encounter is related to the metro bundler and Android 14. Thanks for pointing us to adding that permission, though!
Most welcome :) Some things i have noticed are :
-When connect from and ios to an android 14 device all things works smoothly. -Connect from and android 14 to another android 14 device most of the time things works fine( sometimes video is blank) -Connect from an android device to An Oneplus android 14 device video call crashes on oneplus device after connecting 1 second
I have check these in around 8-9 devices including iphone 11, iphone 13, Oneplus nord, Oneplus 10R, samsung galaxy A53, Google pixel 7, etc.
Please share if you find anything , that would be great help. Thanks!!
After upgrading to react-native-sdk version 2.2.1 , video not visible in video call and audio call dont have sound. in Video call shows like 'video of fellow jitser has been turned off to save bandwith'