jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
23.21k stars 6.74k forks source link

Android Camera and Microphone Permission Warning #14154

Closed mfurkancelik closed 6 months ago

mfurkancelik commented 11 months ago

Description:

We updated from Jitsi version 4.0.0 to version 8.4.0 in the project.When Jitsi is opened, it gives the error “Unable to access the camera” and “Unable to access the microphone” for 2 seconds and disappears, then the camera and microphone work. Android kotlin language and The app has access to the camera and microphone. Permissions have already been granted. When I join meeting on android application, I see camera and microphone not allowed popup. but after that they work. I should not see this pop-up. How can I fix it ? When I checked the community group, I found that there were others with similar problems and no solution was offered. I tried Jitsi version 8.6.0 but the result was the same.

Note: I grant microphone and camera permissions.

When I try ios application , I dont see any warning

Steps to reproduce:

Expected behavior:

I expect not to see error pop-ups because the permissions have already been granted and a photo is taken with the camera on a previous page in the app.

Actual behavior:

I see the error for about 2 seconds after I click the join meeting button, then everything works fine and the errors disappear.

Server information:

Client information:

Additional information:

saghul commented 11 months ago

Can you share some logs?

mfurkancelik commented 11 months ago

Received event: CONFERENCE_WILL_JOIN 14:19:00.581 W Don't know how to round that drawable: com.facebook.drawee.drawable.RoundedColorDrawable@71159fe 14:19:00.610 W Attempt to set local data for view with unknown tag: -1 14:19:00.638 I [modules/RTC/RTCUtils.js] Got media constraints: {"video":false,"audio":{"autoGainControl":true,"echoCancellation":true,"noiseSuppression":true}} 14:19:00.638 I [modules/RTC/RTCUtils.js] Got media constraints: {"video":{"aspectRatio":1.7777777777777777,"height":{"ideal":720},"width":{"ideal":1280},"facingMode":"user"},"audio":false} 14:19:00.649 D [modules/RTC/RTCUtils.js] Available devices: [ { kind: 'videoinput', label: '0', deviceId: '0', groupId: '', facing: 'environment' }, { kind: 'videoinput', label: '1', deviceId: '1', groupId: '', facing: 'front' }, { kind: 'audioinput', label: 'Audio', groupId: '', deviceId: 'audio-1' } ] 14:19:00.651 D getUserMedia(audio): { NativeMap: {"autoGainControl":true,"noiseSuppression":true,"echoCancellation":true} } 14:19:00.652 D MediaStream id: d285ecc4-bb89-437c-bd1b-f03683069dba 14:19:00.653 D getUserMedia(video): { NativeMap: {"facingMode":"user","width":1280,"frameRate":30,"height":720} } 14:19:00.653 D failed to find device with id: null 14:19:00.656 D Create camera 1 succeeded 14:19:00.659 I EglBase14Impl: Using OpenGL ES version 2 14:19:00.661 I [modules/RTC/RTCUtils.js] onUserMediaSuccess 14:19:00.662 D [modules/RTC/JitsiLocalTrack.js] Setting new MSID: 70f4ec05-baa8-7bf8-2eb8-e6024f4b76a8 e9719cb9-ce1e-4a0f-bb9e-0b617f679f28 on LocalTrack[undefined,audio] 14:19:00.662 I CameraCapturer: startCapture: 1280x720@30 14:19:00.663 I Camera2Session: Create new camera2 session on camera 1 14:19:00.663 I Camera2Session: start 14:19:00.664 D MediaStream id: 59b021d9-28d2-4ae9-ade9-203121b91550 14:19:00.669 I Camera2Session: Available preview sizes: [2592x1940, 2592x1196, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144] 14:19:00.670 I Camera2Session: Available fps ranges: [[15.0:15.0], [8.0:30.0], [30.0:30.0]] 14:19:00.670 I Camera2Session: Using capture format: 1280x720@[8.0:30.0] 14:19:00.670 I Camera2Session: Opening camera 1 14:19:00.671 D CameraEventsHandler.onCameraOpening: cameraName=1 14:19:00.675 E Access denied finding property "persist.vendor.camera.privapp.list"

Of course @saghul but it does not throw any errors in the logs as far as I can see

saghul commented 11 months ago

Please paste the full log trace.

mfurkancelik commented 11 months ago

Access denied finding property "persist.vendor.camera.privapp.list" 14:00:01.847 W type=1400 audit(0.0:1695360): avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=17769 scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0 app=com.alibaba.aliexpresshd 14:00:01.888 E No package ID ff found for ID 0xffffffff. 14:00:01.890 I EglRenderer: setMirrorHorizontally: true 14:00:01.902 I EglRenderer: Initializing EglRenderer 14:00:01.903 I EglRenderer: EglBase.create shared context 14:00:01.908 I EglBase14Impl: Using OpenGL ES version 2 14:00:01.910 I EglRenderer: setLayoutAspectRatio: 0.8955224 14:00:01.922 D UPDATE null, mIsCastMode = false 14:00:01.926 I SurfaceEglRenderer: : surfaceChanged: format: 4 size: 1080x1206 14:00:02.332 W Slow Binder: BpBinder transact took 471ms, interface=android.hardware.ICameraService, code=4 oneway=false 14:00:02.332 I Camera2Session: Camera opened. 14:00:02.428 I Camera2Session: Camera capture session configured. 14:00:02.429 I Camera2Session: Using video stabilization. 14:00:02.429 I Camera2Session: Auto-focus is not available. 14:00:02.434 I Camera2Session: Camera device successfully started. 14:00:02.435 I CameraCapturer: Create session done. Switch state: IDLE 14:00:02.436 I SurfaceTextureHelper: Setting listener to org.webrtc.Camera2Session$CaptureSessionCallback$$ExternalSyntheticLambda0@d87de27 14:00:02.856 D CameraEventsHandler.onFirstFrameAvailable 14:00:02.856 I SurfaceEglRenderer: : Reporting first rendered frame. 14:00:02.856 I SurfaceEglRenderer: : Reporting frame resolution changed to 1280x720 with rotation 270 14:00:02.857 D First frame rendered. 14:00:02.935 I [features/base/redux] redux state persisted. 837877e8705445abc7ebb9dc1efc6e57 -> 038ffcd84afef64a62a6686e9cad603e 14:00:04.436 I CameraStatistics: Camera fps: 24. 14:00:05.818 I --> POST http://apigateway.testuat.xyz.com/api/task/getmyactivetask 14:00:05.818 I Content-Type: application/json; charset=UTF-8 14:00:05.819 I Content-Length: 52 14:00:05.819 I {"processId":"67df5c2c-b813-4702-bf2a-2bce11684c33"} 14:00:05.819 I --> END POST (52-byte body) 14:00:05.819 D test.predefined : com.testa.mobile 14:00:05.820 I Decoding with: com.chuckerteam.chucker.internal.support.PlainTextDecoder@b968c7b 14:00:05.912 I EglRenderer: Duration: 4001 ms. Frames received: 93. Dropped: 0. Rendered: 93. Render fps: 23,2. Average render time: 2038 us. Average swapBuffer time: 996 us. 14:00:06.117 I <-- 200 OK http://apigateway.testuat.xyz.com/api/task/getmyactivetask (298ms) 14:00:06.117 I date: Fri, 15 Dec 2023 11:00:07 GMT 14:00:06.117 I zipkin-trace-id: e2abb0b31ff2c3f1 14:00:06.117 I x-content-type-options: nosniff 14:00:06.117 I x-xss-protection: 1; mode=block 14:00:06.117 I cache-control: no-cache, no-store, max-age=0, must-revalidate 14:00:06.117 I pragma: no-cache 14:00:06.117 I expires: 0 14:00:06.118 I x-frame-options: DENY 14:00:06.118 I content-type: application/json;charset=utf-8 14:00:06.118 I x-envoy-upstream-service-time: 243 14:00:06.118 I server: istio-envoy 14:00:06.118 I transfer-encoding: chunked 14:00:06.121 I <-- END HTTP (2405-byte body) 14:00:06.441 I CameraStatistics: Camera fps: 31. 14:00:08.442 I CameraStatistics: Camera fps: 30. 14:00:09.917 I EglRenderer: Duration: 4003 ms. Frames received: 121. Dropped: 0. Rendered: 120. Render fps: 30,0. Average render time: 1879 us. Average swapBuffer time: 955 us. 14:00:10.088 I [features/base/connection] Using service URL https://meet.testuat.xyz.com/http-bind 14:00:10.092 I [modules/xmpp/moderator.js] Using xmpp for conference requests. 14:00:10.093 I [modules/xmpp/xmpp.js] P2P STUN servers: [ { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' } ] 14:00:10.093 D [modules/xmpp/xmpp.js] Source-name signaling is enabled 14:00:10.098 D [modules/xmpp/xmpp.js] Receiving multiple video streams is enabled 14:00:10.104 I [modules/xmpp/xmpp.js] (TIME) Strophe connecting: 247065419.464864 14:00:10.164 E No package ID ff found for ID 0xffffffff. 14:00:10.165 I EglRenderer: setMirrorHorizontally: true 14:00:10.282 D ExternalAPI Sending event: CONFERENCE_FOCUSED with data: { NativeMap: {} } 14:00:10.287 I Received event: CONFERENCE_FOCUSED 14:00:10.328 D UPDATE Surface(name=SurfaceView - com.testb.test/com.testb.test.activity.VideoCallPageActivity)/@0x85eb8e, mIsCastMode = false 14:00:10.329 I EglRenderer: Releasing. 14:00:10.329 E call to OpenGL ES API with no current context (logged once per thread) 14:00:10.329 I GlShader: Deleting shader. 14:00:10.329 I EglRenderer: eglBase detach and release. 14:00:10.331 I EglRenderer: Quitting render thread. 14:00:10.331 I EglRenderer: Releasing done. 14:00:10.343 I [GESTURE HANDLER] Gesture handler is already enabled for a parent view 14:00:10.346 I EglRenderer: Initializing EglRenderer 14:00:10.347 I EglRenderer: EglBase.create shared context 14:00:10.347 I EglBase14Impl: Using OpenGL ES version 2 14:00:10.356 I EglRenderer: setLayoutAspectRatio: 0.4990758 14:00:10.379 I SurfaceEglRenderer: : Reporting first rendered frame. 14:00:10.380 I SurfaceEglRenderer: : Reporting frame resolution changed to 1280x720 with rotation 270 14:00:10.381 I EglRenderer: Dropping frame - No surface 14:00:10.389 D UPDATE null, mIsCastMode = false 14:00:10.392 I SurfaceEglRenderer: : surfaceChanged: format: 4 size: 1080x2164 14:00:10.432 D First frame rendered. 14:00:10.443 I CameraStatistics: Camera fps: 30. 14:00:10.454 I [features/full-screen] Setting full-screen mode: false 14:00:11.029 W [modules/xmpp/XmppConnection.js] Stream resume enabled, but WebSockets are not enabled 14:00:11.029 I [modules/xmpp/strophe.ping.js] XMPP pings will be sent every 10000 ms 14:00:11.029 I [modules/xmpp/xmpp.js] (TIME) Strophe connected: 247066334.050229 14:00:11.030 I [modules/xmpp/xmpp.js] My Jabber ID: fxwy9cuhakzbi-dx@meet.testuat.xyz.com/PwgCOIR4 14:00:11.030 I [modules/RTC/CodecSelection.js] Codec preference order for jvb connection is vp8,vp9,h264 14:00:11.034 I [modules/RTC/CodecSelection.js] Codec preference order for p2p connection is h264,vp8,vp9 14:00:11.034 I [modules/xmpp/xmpp.js] JID fxwy9cuhakzbi-dx@meet.testuat.xyz.com/PwgCOIR4 using MUC nickname cedcbf65 14:00:11.034 E [modules/RTCStats/RTCStats.ts] Calling start before RTCStats proxy module is initialized. 14:00:11.034 I [modules/statistics/AvgRTPStatsReporter.js] Avg RTP stats will be calculated every 15 samples 14:00:11.058 I [JitsiConference.js] backToP2PDelay: 5 14:00:11.058 D [modules/videosipgw/VideoSIPGW.js] creating VideoSIPGW 14:00:11.058 I [JitsiConference.js] _doReplaceTrack - no JVB JingleSession 14:00:11.058 I [JitsiConference.js] _doReplaceTrack - no P2P JingleSession 14:00:11.058 I [JitsiConference.js] _doReplaceTrack - no JVB JingleSession 14:00:11.059 I [JitsiConference.js] _doReplaceTrack - no P2P JingleSession 14:00:11.123 I [features/full-screen] Setting full-screen mode: true 14:00:11.139 I [modules/xmpp/moderator.js] Sending conference request over XMPP to focus.meet.testuat.xyz.com 14:00:11.145 I --> POST http://apigateway.testuat.xyz.com/api/task/getmyactivetask 14:00:11.145 I Content-Type: application/json; charset=UTF-8 14:00:11.145 I Content-Length: 52 14:00:11.145 I {"processId":"67df5c2c-b813-4702-bf2a-2bce11684c33"} 14:00:11.145 I --> END POST (52-byte body) 14:00:11.145 D test.predefined : com.testa.mobile 14:00:11.146 I Decoding with: com.chuckerteam.chucker.internal.support.PlainTextDecoder@b968c7b 14:00:11.349 I [modules/xmpp/moderator.js] Adding focus JID: focus@auth.meet.testuat.xyz.com 14:00:11.350 I [modules/xmpp/moderator.js] Authentication enabled: false 14:00:11.350 I [modules/xmpp/moderator.js] External authentication enabled: false 14:00:11.350 I [modules/xmpp/moderator.js] Sip gateway enabled: undefined 14:00:11.353 I [modules/xmpp/moderator.js] Conference-request successful, ready to join the MUC. 14:00:11.387 I <-- 200 OK http://apigateway.testuat.xyz.com/api/task/getmyactivetask (241ms) 14:00:11.387 I date: Fri, 15 Dec 2023 11:00:12 GMT 14:00:11.387 I zipkin-trace-id: d5e61542f9514a81 14:00:11.387 I x-content-type-options: nosniff 14:00:11.387 I x-xss-protection: 1; mode=block 14:00:11.387 I cache-control: no-cache, no-store, max-age=0, must-revalidate 14:00:11.387 I pragma: no-cache 14:00:11.388 I expires: 0 14:00:11.388 I x-frame-options: DENY 14:00:11.388 I content-type: application/json;charset=utf-8 14:00:11.388 I x-envoy-upstream-service-time: 210 14:00:11.388 I server: istio-envoy 14:00:11.388 I transfer-encoding: chunked 14:00:11.391 I <-- END HTTP (2405-byte body) 14:00:11.416 I [modules/version/ComponentsVersions.js] Got focus version: 1.0.1050 14:00:11.422 I [JitsiConference.js] Audio unmute permissions set by Jicofo to false 14:00:11.427 I [JitsiConference.js] Video unmute permissions set by Jicofo to false 14:00:11.494 E No package ID ff found for ID 0xffffffff. 14:00:11.495 I EglRenderer: setMirrorHorizontally: true 14:00:11.509 W Frame time is 0.465839 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase. 14:00:11.578 W Don't know how to round that drawable: com.facebook.drawee.drawable.RoundedColorDrawable@87bfbd 14:00:11.720 I [features/video-quality] Setting sender resolution to 720 14:00:11.720 I [features/video-quality] Configured preferred receiver video frame height to: 720 14:00:11.744 D ExternalAPI Sending event: CONFERENCE_JOINED with data: { NativeMap: {"url":"https://meet.testuat.xyz.com/IS_YATIRIM-67df5c2c-b813-4702-bf2a-2bce11684c33-1702637994547","isAudioMuted":false} } 14:00:11.745 I Conference Joined with urlhttps://meet.testuat.xyz.com/IS_YATIRIM-67df5c2c-b813-4702-bf2a-2bce11684c33-1702637994547 14:00:11.757 I rn-webrtc:pc:DEBUG 2 ctor +22s 14:00:11.760 I AudioMode Update audio route for mode: 2 14:00:11.760 I rn-webrtc:pc:DEBUG 2 addTransceiver +3ms 14:00:11.762 D [JitsiConference.js] P2P? peerCount: 1, hasBotPeer: false => true 14:00:11.762 I [JitsiConference.js] Will start P2P with: is_yatirim-67df5c2c-b813-4702-bf2a-2bce11684c33-1702637994547@conference.meet.testuat.xyz.com/f7cfe183 14:00:11.762 I [JitsiConference.js] Created new P2P JingleSession is_yatirim-67df5c2c-b813-4702-bf2a-2bce11684c33-1702637994547@conference.meet.testuat.xyz.com/cedcbf65 is_yatirim-67df5c2c-b813-4702-bf2a-2bce11684c33-1702637994547@conference.meet.testuat.xyz.com/f7cfe183 14:00:11.762 I [modules/RTC/TraceablePeerConnection.js] Create new TPC[id=3,type=P2P] 14:00:11.773 I rn-webrtc:pc:DEBUG 2 addTransceiver +13ms 14:00:11.774 I [JitsiConference.js] Starting CallStats for P2P connection... 14:00:11.774 I [modules/RTC/TraceablePeerConnection.js] TPC[id=3,type=P2P] adding LocalTrack[3,audio] 14:00:11.774 I [modules/RTC/TraceablePeerConnection.js] TPC[id=3,type=P2P] adding LocalTrack[4,video] 14:00:11.802 I rn-webrtc:pc:DEBUG 2 createOffer +29ms 14:00:11.851 D UPDATE Surface(name=SurfaceView - com.testb.test/com.testb.test.activity.VideoCallPageActivity)/@0xe8e5fd6, mIsCastMode = false 14:00:11.852 I EglRenderer: Releasing. 14:00:11.852 E call to OpenGL ES API with no current context (logged once per thread) 14:00:11.853 I GlShader: Deleting shader. 14:00:11.853 I EglRenderer: eglBase detach and release. 14:00:11.855 I EglRenderer: Quitting render thread. 14:00:11.856 I EglRenderer: Releasing done. 14:00:11.870 I EglRenderer: setLayoutAspectRatio: 1.0 14:00:11.871 I EglRenderer: Initializing EglRenderer 14:00:11.873 I EglRenderer: EglBase.create shared context 14:00:11.874 I EglBase14Impl: Using OpenGL ES version 2 14:00:11.895 D UPDATE null, mIsCastMode = false 14:00:11.899 I rn-webrtc:pc:DEBUG 2 createOffer OK +97ms 14:00:11.899 I SurfaceEglRenderer: : surfaceChanged: format: 4 size: 214x214 14:00:11.904 I SurfaceEglRenderer: : Reporting first rendered frame. 14:00:11.904 I SurfaceEglRenderer: : Reporting frame resolution changed to 1280x720 with rotation 270 14:00:11.914 I rn-webrtc:pc:DEBUG 2 setLocalDescription +15ms 14:00:11.916 D First frame rendered. 14:00:11.927 I NetworkMonitor: Start monitoring with native observer -5476376629265854368 fieldTrialsString: 14:00:11.935 W NetworkMonitorAutoDetect: Unable to obtain permission to request a cellular network. 14:00:11.940 I NetworkMonitorAutoDetect: Network handle: 1193111638029 becomes available: 277 14:00:11.946 D onIceGatheringChangeGATHERING 14:00:11.946 I NetworkMonitorAutoDetect: handle: 1193111638029 capabilities changed: [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=42453Kbps LinkDnBandwidth>=44687Kbps SignalStrength: -69 AdministratorUids: [] RequestorUid: -1 RequestorPackageName: null] 14:00:11.950 I NetworkMonitorAutoDetect: handle: 1193111638029 link properties changed 14:00:11.967 D onIceCandidate 14:00:11.968 I rn-webrtc:pc:DEBUG 2 setLocalDescription OK +53ms 14:00:12.014 I [modules/xmpp/strophe.jingle.js] Found a JSON-encoded element in session-initiate, translating to standard Jingle. 14:00:12.028 I rn-webrtc:pc:DEBUG 3 ctor +61ms 14:00:12.029 I [modules/xmpp/strophe.jingle.js] (TIME) received session-initiate: 247067329.67627 14:00:12.033 I [modules/RTC/TraceablePeerConnection.js] Create new TPC[id=4,type=JVB] 14:00:12.034 I [JitsiConference.js] SCTP: offered=true, prefered=false 14:00:12.034 I [JitsiConference.js] Using colibri-ws url wss://meet.testuat.xyz.com:443/colibri-ws/default-id/4bf48a5c6fde02b/cedcbf65?pwd=7gp4jv4t8ci7a992t6opscnkid 14:00:12.034 D [modules/RTC/BridgeChannel.js] constructor() with wsUrl:"wss://meet.testuat.xyz.com:443/colibri-ws/default-id/4bf48a5c6fde02b/cedcbf65?pwd=7gp4jv4t8ci7a992t6opscnkid" 14:00:12.034 I rn-webrtc:pc:DEBUG 3 addTrack +6ms 14:00:12.042 I [modules/RTC/TraceablePeerConnection.js] TPC[id=4,type=JVB] adding LocalTrack[3,audio] 14:00:12.043 I rn-webrtc:pc:DEBUG 3 addTrack +9ms 14:00:12.044 I [modules/RTC/TraceablePeerConnection.js] TPC[id=4,type=JVB] adding LocalTrack[4,video] 14:00:12.070 D onIceCandidate 14:00:12.080 I [JitsiConference.js] Starting CallStats for JVB connection... 14:00:12.080 I rn-webrtc:pc:DEBUG 3 getStats +37ms 14:00:12.113 I rn-webrtc:pc:DEBUG 3 setRemoteDescription +33ms 14:00:12.128 D onAddTrack 14:00:12.128 D onAddTrack 14:00:12.140 D Created adapter for c00c6fe9-7126-4e7f-9c69-22f886874da8 14:00:12.169 W Slow Binder: BpBinder transact took 408ms, interface=android.media.IAudioService, code=40 oneway=false 14:00:12.174 I AudioMode Selected audio device: BLUETOOTH 14:00:12.174 I In setSpeakerphoneOn(), on: false, calling application: com.testb.test 14:00:12.175 I In startbluetoothSco(), calling application: com.testb.test 14:00:12.179 I In setBluetoothScoOn(), on: true, calling application: com.testb.test 14:00:12.181 I AudioMode Updating audio device list 14:00:12.202 I rn-webrtc:pc:DEBUG 3 ontrack +89ms 14:00:12.207 I rn-webrtc:pc:DEBUG 3 ontrack +4ms 14:00:12.207 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=a16528ed84c8] sendIceCandidates [{"candidate":"candidate:2810917328 1 udp 2122260223 192.168.1.40 48284 typ host generation 0 ufrag f5mJ network-id 4 network-cost 10","sdpMLineIndex":0,"sdpMid":"0"},{"candidate":"candidate:784567919 1 tcp 1518214911 10.26.240.72 9 typ host tcptype active generation 0 ufrag f5mJ network-id 3 network-cost 900","sdpMLineIndex":0,"sdpMid":"0"}] 14:00:12.215 I rn-webrtc:pc:DEBUG 3 setRemoteDescription OK +8ms 14:00:12.215 I rn-webrtc:pc:DEBUG 3 createAnswer +1ms 14:00:12.218 I [modules/RTC/BridgeChannel.js] websocket channel opened 14:00:12.218 I [JitsiConferenceEventManager.js] (TIME) data.channel.opened: 247067533.874134 14:00:12.219 I [modules/RTC/BridgeChannel.js] Sending SourceVideoTypeMessage with video type cedcbf65-v0: camera 14:00:12.220 I [modules/RTC/BridgeChannel.js] Received ServerHello, version=undefined. 14:00:12.227 D [modules/RTC/BridgeChannel.js] Dominant speaker: f7cfe183, previous speakers: 14:00:12.228 I [modules/RTC/BridgeChannel.js] New forwarded sources: f7cfe183-v0 14:00:12.229 D [modules/RTC/RTC.js] Fowarded sources changed leaving=, entering=f7cfe183-v0 at 1702638012227 14:00:12.245 I rn-webrtc:pc:DEBUG 3 setLocalDescription +29ms 14:00:12.248 I WebRtcAudioTrackExternal: initPlayout(sampleRate=48000, channels=1, bufferSizeFactor=1.0) 14:00:12.248 I WebRtcAudioTrackExternal: byteBuffer.capacity: 960 14:00:12.250 I WebRtcAudioTrackExternal: minBufferSizeInBytes: 7688 14:00:12.250 I WebRtcAudioTrackExternal: createAudioTrackBeforeOreo 14:00:12.250 I WebRtcAudioTrackExternal: nativeOutputSampleRate: 48000 14:00:12.251 I getDeviceIsSupportElevoc() The device is not support elevoc 14:00:12.251 D set(sessionId=0) 14:00:12.251 D set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x1, frameCount 3844, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1 14:00:12.275 I WebRtcAudioTrackExternal: AudioTrack: session ID: 30065, channels: 1, sample rate: 48000, max gain: 1.0 14:00:12.275 I WebRtcAudioTrackExternal: AudioTrack: buffer size in frames: 3844 14:00:12.275 I WebRtcAudioTrackExternal: AudioTrack: buffer capacity in frames: 3844 14:00:12.275 I WebRtcAudioTrackExternal: startPlayout 14:00:12.315 I WebRtcAudioTrackExternal: AudioTrackThread@[name=AudioTrackJavaThread, id=68535] 14:00:12.316 I WebRtcAudioTrackExternal: doAudioTrackStateCallback: 0 14:00:12.324 D onIceGatheringChangeGATHERING 14:00:12.330 D onIceCandidate 14:00:12.340 I SurfaceEglRenderer: : Reporting frame resolution changed to 720x1280 with rotation 0 14:00:12.343 I GlShader: Deleting shader. 14:00:12.351 I rn-webrtc:pc:DEBUG 3 setLocalDescription OK +107ms 14:00:12.372 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=JVB,initiator=false,sid=62kepn33hbcoj] Sending session-accept 14:00:12.377 I [modules/xmpp/JingleSessionPC.js] (TIME) ICE checking JVB: 247067692.44627 14:00:12.416 D onIceGatheringChangeCOMPLETE 14:00:12.444 I CameraStatistics: Camera fps: 31. 14:00:12.522 I NetworkMonitorAutoDetect: handle: 1193111638029 capabilities changed: [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=42453Kbps LinkDnBandwidth>=44687Kbps SignalStrength: -62 AdministratorUids: [] RequestorUid: -1 RequestorPackageName: null] 14:00:12.553 I [modules/RTC/BridgeChannel.js] SenderSourceConstraints: cedcbf65-v0 - 2160 14:00:12.553 D [modules/qualitycontrol/SendVideoController.js] Sender constraints for source:cedcbf65-v0 changed to maxHeight:2160 14:00:12.553 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=JVB,initiator=false,sid=62kepn33hbcoj] setSenderVideoConstraint: 720, sourceName: cedcbf65-v0 14:00:12.553 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=a16528ed84c8] setSenderVideoConstraint: 720, sourceName: cedcbf65-v0 14:00:12.554 I [modules/RTC/BridgeChannel.js] SenderSourceConstraints: cedcbf65-v0 - 2160 14:00:12.570 I [modules/xmpp/strophe.jingle.js] Found a JSON-encoded element in source-add, translating to standard Jingle. 14:00:12.694 I WebRtcAudioRecordExternal: initRecording(sampleRate=48000, channels=1) 14:00:12.695 I WebRtcAudioRecordExternal: byteBuffer.capacity: 960 14:00:12.695 I WebRtcAudioRecordExternal: AudioRecord.getMinBufferSize: 3840 14:00:12.695 I WebRtcAudioRecordExternal: bufferSizeInBytes: 7680 14:00:12.695 I WebRtcAudioRecordExternal: createAudioRecordOnMOrHigher 14:00:12.696 D set(): inputSource 7, sampleRate 48000, format 0x1, channelMask 0x10, frameCount 3840, notificationFrames 0, sessionId 0, transferType 0, flags 0, opPackageName com.testb.test uid -1, pid -1 14:00:12.705 I [modules/xmpp/JingleSessionPC.js] (TIME) ICE connected JVB: 247068008.476217 14:00:12.707 I [modules/RTC/BridgeChannel.js] SenderSourceConstraints: cedcbf65-v0 - 720 14:00:12.707 D [modules/qualitycontrol/SendVideoController.js] Sender constraints for source:cedcbf65-v0 changed to maxHeight:720 14:00:12.707 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=JVB,initiator=false,sid=62kepn33hbcoj] setSenderVideoConstraint: 720, sourceName: cedcbf65-v0 14:00:12.708 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=a16528ed84c8] setSenderVideoConstraint: 720, sourceName: cedcbf65-v0 14:00:12.719 I WebRtcAudioEffectsExternal: enable(audioSession=30073) 14:00:12.722 I WebRtcAudioEffectsExternal: AcousticEchoCanceler: was enabled, enable: true, is now: enabled 14:00:12.724 I WebRtcAudioEffectsExternal: NoiseSuppressor: was enabled, enable: true, is now: enabled 14:00:12.724 I WebRtcAudioRecordExternal: AudioRecord: session ID: 30073, channels: 1, sample rate: 48000 14:00:12.724 I WebRtcAudioRecordExternal: AudioRecord: buffer size in frames: 3840 14:00:12.725 I WebRtcAudioRecordExternal: Number of active recording sessions: 0 14:00:12.725 I WebRtcAudioRecordExternal: startRecording 14:00:12.725 D start(2700): sync event 0 trigger session 0, mSessionID=30073 14:00:12.737 D broadcastRecorderState:com.testb.test 14:00:12.738 I WebRtcAudioRecordExternal: scheduleLogRecordingConfigurationsTask 14:00:12.740 I WebRtcAudioRecordExternal: AudioRecordThread@[name=AudioRecordJavaThread, id=68538] 14:00:12.740 I WebRtcAudioRecordExternal: doAudioRecordStateCallback: START 14:00:12.768 I [modules/RTC/BridgeChannel.js] Sending ReceiverVideoConstraints with {"assumedBandwidthBps":-1,"constraints":{},"defaultConstraints":{"maxHeight":2160},"lastN":-1} 14:00:12.775 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=JVB,initiator=false,sid=62kepn33hbcoj] setSenderVideoConstraint: 720, sourceName: cedcbf65-v0 14:00:12.776 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=a16528ed84c8] setSenderVideoConstraint: 720, sourceName: cedcbf65-v0 14:00:12.776 D [modules/xmpp/SignalingLayerImpl.js] Mute state of cedcbf65-a0 changed to muted=false 14:00:12.776 D [JitsiConference.js] Mute state of LocalTrack[3,audio] changed to muted=false 14:00:12.776 D [JitsiConference.js] Updating mute state of LocalTrack[3,audio] in presence to muted=false 14:00:12.776 D [modules/xmpp/SignalingLayerImpl.js] Mute state of cedcbf65-v0 changed to muted=false 14:00:12.776 D [JitsiConference.js] Mute state of LocalTrack[4,video] changed to muted=false 14:00:12.776 D [JitsiConference.js] Updating mute state of LocalTrack[4,video] in presence to muted=false 14:00:12.776 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=a16528ed84c8] Got RESULT for "session-initiate" 14:00:12.776 I [JitsiConference.js] P2P setAnswer 14:00:12.795 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=P2P,initiator=true,sid=a16528ed84c8] setReceiverVideoConstraint - constraints: {} 14:00:12.815 I [modules/xmpp/JingleSessionPC.js] JingleSessionPC[session=JVB,initiator=false,sid=62kepn33hbcoj] Processing addRemoteStream 14:00:12.841 I WebRtcAudioRecordExternal: Number of active recording sessions: 1 14:00:12.841 I WebRtcAudioRecordExternal: AudioRecordingConfigurations: 14:00:12.841 I WebRtcAudioRecordExternal: client audio source=VOICE_COMMUNICATION, client session id=30073 (30073) Device AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=48000 Client AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=48000 AudioDevice: type=TYPE_BUILTIN_MIC, id=22 14:00:12.841 I WebRtcAudioRecordExternal: verifyAudioConfig: PASS 14:00:12.851 I rn-webrtc:pc:DEBUG 2 setRemoteDescription +500ms 14:00:12.853 I rn-webrtc:pc:DEBUG 3 setRemoteDescription +2ms 14:00:12.861 D onAddTrack 14:00:12.862 D onAddTrack 14:00:12.878 D onAddTrack 14:00:12.878 D onAddTrack 14:00:12.881 I [modules/xmpp/JingleSessionPC.js] (TIME) ICE checking P2P: 247068197.001634 14:00:12.884 I HardwareVideoEncoder: initEncode: 720 x 1280. @ 300kbps. Fps: 60 Use surface mode: true 14:00:12.892 I IOmx service obtained 14:00:12.905 I HardwareVideoEncoder: Format: {color-format=2130708361, i-frame-interval=3600, mime=video/avc, width=720, bitrate-mode=2, bitrate=300000, frame-rate=60.0, height=1280} 14:00:12.907 I setupVideoEncoder() 14:00:12.907 W do not know color format 0x7fa30c06 = 2141391878 14:00:12.907 W do not know color format 0x7fa30c04 = 2141391876 14:00:12.908 W do not know color format 0x7fa30c00 = 2141391872 14:00:12.908 W do not know color format 0x7fa30c09 = 2141391881 14:00:12.908 D Created adapter for 6b74a5b2-78ea-4ea4-ba52-380a4672c930 14:00:12.908 W do not know color format 0x7fa30c0a = 2141391882 14:00:12.908 W do not know color format 0x7fa30c08 = 2141391880 14:00:12.909 W do not know color format 0x7fa30c07 = 2141391879 14:00:12.909 W do not know color format 0x7f000789 = 2130708361 14:00:12.911 I rn-webrtc:pc:DEBUG 2 ontrack +58ms 14:00:12.913 W ctor got NULL, using empty string instead 14:00:12.913 I setupAVCEncoderParameters with [profile: Baseline] [level: Level1] 14:00:12.915 I [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring. 14:00:12.915 I setupVideoEncoder succeeded 14:00:12.915 I [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 29) = { int32_t color-format = 2130708361 int32_t i-frame-interval = 3600 string mime = "video/avc" int32_t width = 720 int32_t bitrate-mode = 2 int32_t bitrate = 300000 float frame-rate = 60.000000 int32_t height = 1280 int32_t flags = 1 int32_t encoder = 1 } 14:00:12.915 W do not know color format 0x7f000789 = 2130708361 14:00:12.916 I [OMX.qcom.video.encoder.avc] input format is AMessage(what = 0x00000000) = { string mime = "video/raw" int32_t stride = 720 int32_t slice-height = 1280 int32_t color-format = 2130708361 int32_t color-range = 0 int32_t color-standard = 0 int32_t color-transfer = 0 int32_t width = 720 int32_t height = 1280 } 14:00:12.924 I [OMX.qcom.video.encoder.avc] output format is AMessage(what = 0x00000000) = { int32_t bitrate = 300000 int32_t max-bitrate = 300000 int32_t frame-rate = 60 string mime = "video/avc" int32_t width = 720 int32_t height = 1280 }

@saghul

saghul commented 11 months ago

I don't see any error there :-/ Do you see this problem across many devices?

saghul commented 11 months ago

Are you able to reproduce the problem with our Jitsi Meet app?

mfurkancelik commented 11 months ago

We have tested on about 10-12 different android devices and we see this error on all of them. But as I said, the error appears for 2-3 seconds and then disappears. When the error disappears, the camera and microphone work. @saghul

saghul commented 11 months ago

That's interesting. Do you see it also with Jitsi Meet? I'm asking because it might be something that has happened after the latest release, but we have not seen this in our production builds.

mfurkancelik commented 11 months ago

Jitsi Meet, I guess you are talking about an app other than our app? If so, let's test it again with it.

saghul commented 11 months ago

Yes I mean our app, which is the same code as the SDK.

mfurkancelik commented 10 months ago

Yes I see the same error there when I try. @saghul

mfurkancelik commented 10 months ago

Hey @saghul , any news? We are having the same problem with Jitsi app.

saghul commented 10 months ago

No news yet sorry. Going to take some time off for the holidays so this will have to wait until after, sorry.

mfurkancelik commented 10 months ago

It's okey. Have a nice vacation. Merry Christmas

mfurkancelik commented 9 months ago

Hey @saghul , any news?

saghul commented 9 months ago

I was unsuccesfull reproducing this problem. None of the devices I got my hands on exhibit it, and yours is the only report we've ever received of this nature.

Sorry but I don't know where to go from here.

mfurkancelik commented 9 months ago

We get the problem on multiple devices. I don't know which devices you are testing with. Here are the devices we have and we get errors: Xiaomi Mi 9T, Samsung M14, Samsung A72. If there is a way to close this pop-up completely, we can also try that.

saghul commented 9 months ago

Can you please share a screenshot or recording of what you see please?

mfurkancelik commented 9 months ago

Of course, I share screenshot. Screenshot_2024-01-16-13-48-55-522_com.miui.videoplayer.jpg

saghul commented 9 months ago

I am very confused. We have no code paths that lead to that notification being shows on the native SDK. It's just used on the web.

mfurkancelik commented 9 months ago

It's a problem because we've encountered it on more than one device. We reported it as it is not a device-specific situation. Please let me know if I can be of any support.

saghul commented 9 months ago

Ok, I found where the notification is sent, that's progress! But I can't for the life of me see why it would be sent :-/

saghul commented 9 months ago

I made a tentative fix here: https://github.com/react-native-webrtc/react-native-webrtc/commit/1fc8c29cefa76577d0d6294e571186780b428a98

It will take a bit to trickle down to the SDK though.

mfurkancelik commented 9 months ago

Thank you for your help. Let's check again when it comes out how long it takes.

mfurkancelik commented 9 months ago

We still have the same problem and I'm not sure if it is fixed with jitsi version 8.6.3 but jitsi version 8.6.3 doesn't seem to be available for android. @saghul

saghul commented 9 months ago

Yes, 8.6.3 was an iOS-only release. We are working on a larger Android release and haven't made any new SDK releases yet.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.