-
Notifications
You must be signed in to change notification settings - Fork 335
AudioSession doesn't work correctly #135
Comments
this is usually caused by system. it looks like if you are in the middle of a call, system rejects to grant our sdk privilege to use recorder/speaker |
You are right. Need to find the fix this issue. |
looks like it's working. good job :) |
Where is the fix ? It is work only if you have call , but don’t work if you receive first call and device locked. You still have to find some fix |
we do have an application using callkit as well and it's working fine in situation when your receive incoming call and device locked. is there any chance you can provide a minimum reproducible project so that we can debug audio session? w/o having a project running it's hard for us to tell the exact problem. |
I updated to ver. 3.0.0.1 and it reproduces only if call |
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. |
agoraPatientLog.log Local Date: Tue Nov 24 17:33:43 2020 INFO (17:33:43:679 | 1) 31527; [rp] ["rtc.force_old_channel_profile"] INFO (17:33:43:680 | 0) 31527; audio jitterbuffer new smooth INFO (17:33:48: 13 | 1) 31527; [rp] ["rtc.force_old_channel_profile"] INFO (17:33:48: 51 | 0) 31527; videoEngine enable face detection INFO (17:33:48: 62 | 0) 31527; [rtpSender] set paced sender mode 0. INFO (17:33:48: 62 | 0) 31527; Initializing paced sender for broadcasting, strategy 2. INFO (17:33:48: 66 | 0) 7963; camera capture wide:192,height:144,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:192,height:144,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:352,height:288,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:352,height:288,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:480,height:360,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:480,height:360,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:640,height:480,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:640,height:480,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:640,height:480,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:640,height:480,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:960,height:540,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:960,height:540,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1024,height:768,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1024,height:768,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1280,height:720,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1280,height:720,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1280,height:720,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1280,height:720,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1280,height:720,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1280,height:720,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1440,height:1080,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1440,height:1080,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1080,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1080,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1080,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1080,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1440,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1440,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1440,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:1920,height:1440,mediaSubType:875704422 INFO (17:33:48: 66 | 0) 7963; camera capture wide:3088,height:2316,mediaSubType:875704438 INFO (17:33:48: 66 | 0) 7963; camera capture wide:3088,height:2316,mediaSubType:875704422 INFO (17:33:48:110 | 44) 31527; [ch0] client role change, response code 0 INFO (17:33:48:122 | 0) 31527; Create video user 1252210008 INFO (17:33:48:262 | 0) 31527; H264 Hardware Decode INFO (17:33:48:324 | 62) 771; [adm][s] AudioSessionRouteChange: AudioSessionRouteChange: from (1) to (3)! INFO (17:33:48:412 | 0) 31527; User 1252210008's view size is changed to 0 * 0 INFO (17:33:48:693 | 0) 31527; VQC module init done. stream no 0, mode 1, structure 257, scenario 512, preference 0, disableVQC 0. INFO (17:33:49: 21 | 0) 172827; Render buffer size 207 x 448 INFO (17:33:49: 21 | 0) 87307; Render Method 1 INFO (17:33:49: 21 | 0) 87307; Setup: uid 0 width 200, height 200 INFO (17:33:49: 21 | 0) 172827; Setup: uid 0 width 200, height 200 INFO (17:33:49: 45 | 0) 87307; Render buffer size 828 x 1792 INFO (17:33:49: 46 | 1) 771; [API][rtc_engine_impl.cpp:327][joinChannel] INFO (17:33:49:122 | 36) 31527; setNetEQMinimumPlayoutDelay delay(0) WARN (17:34:12:440 | 1) 31527; InsertPacketInternal: Packet buffer flushed WARN (17:34:12:474 | 0) 31527; AddFrame: too old frame, timestamp=3742087417. INFO (17:34:12:560 | 2) 31527; audio cc ctrl br to be 38849 WARN (17:34:41:301 | 50) 31527; Idr miss, internal frn wrap around, reset. prevfrn (430), cfrn (0), maxfrn (65536) WARN (17:34:55:581 | 39) 31527; Idr miss, internal frn wrap around, reset. prevfrn (213), cfrn (0), maxfrn (65536) WARN (17:35:23:192 | 51) 31527; Idr miss, internal frn wrap around, reset. prevfrn (413), cfrn (0), maxfrn (65536) INFO (17:35:25:279 | 30) 31527; AsyncRenderFrame frozen for stream 1252210008 INFO (17:35:42:969 | 2) 53523; camera capture wide:192,height:144,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:192,height:144,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:352,height:288,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:352,height:288,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:480,height:360,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:480,height:360,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:640,height:480,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:640,height:480,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:640,height:480,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:640,height:480,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:960,height:540,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:960,height:540,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1024,height:768,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:1024,height:768,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1280,height:720,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:1280,height:720,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1280,height:720,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:1280,height:720,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1280,height:720,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:1280,height:720,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1440,height:1080,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:1440,height:1080,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1920,height:1080,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:1920,height:1080,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1920,height:1080,mediaSubType:875704438 INFO (17:35:42:969 | 0) 53523; camera capture wide:1920,height:1080,mediaSubType:875704422 INFO (17:35:42:969 | 0) 53523; camera capture wide:1920,height:1440,mediaSubType:875704438 INFO (17:35:42:970 | 1) 53523; camera capture wide:1920,height:1440,mediaSubType:875704422 INFO (17:35:42:970 | 0) 53523; camera capture wide:1920,height:1440,mediaSubType:875704438 INFO (17:35:42:970 | 0) 53523; camera capture wide:1920,height:1440,mediaSubType:875704422 INFO (17:35:42:970 | 0) 53523; camera capture wide:3088,height:2316,mediaSubType:875704438 INFO (17:35:42:970 | 0) 53523; camera capture wide:3088,height:2316,mediaSubType:875704422 WARN (17:35:42:970 | 0) 71435; Missing video format. Frame with sps/pps required. WARN (17:36: 3: 34 | 13) 31527; AddFrame: too old frame, timestamp=3752046637. WARN (17:36: 3:202 | 61) 31527; Idr miss, internal frn wrap around, reset. prevfrn (294), cfrn (0), maxfrn (65536) WARN (17:36:12:421 | 28) 31527; Idr miss, internal frn wrap around, reset. prevfrn (137), cfrn (0), maxfrn (65536) WARN (17:36:29:703 | 52) 31527; Idr miss, internal frn wrap around, reset. prevfrn (258), cfrn (0), maxfrn (65536) INFO (17:36:29:793 | 30) 31527; last intra frame 7271 2315 2 with 12 packets starting seq 7269 stream 0x41 frome user 0 1844420128 has been cached at 673710 INFO (17:36:47:870 | 0) 31527; stopRemoteRender INFO (17:36:47:875 | 0) 31527; [che] chat engine destroyed |
Hi, everyone I have a problem with AudioSession when I receive incoming call during mobile call
Steps how to reproduce
I call
inside
The text was updated successfully, but these errors were encountered: