befovy / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support. Backend for https://github.com/befovy/fijkplayer, fijkplayer 的播放内核
GNU General Public License v2.0
154 stars 92 forks source link

The show error after update commit "remove/add audio kit audio interrupt handler" #74

Open ProFive opened 2 years ago

ProFive commented 2 years ago

Dear @befovy , I tried to update the latest code and found the report from firebase Crashlytics

Crashed: com.apple.main-thread 0 libsystem_platform.dylib 0x60c0 _os_unfair_lock_recursive_abort + 36 1 libsystem_platform.dylib 0xa10 _os_unfair_lock_lock_slow + 304 2 CoreFoundation 0xdd3a0 _logToStderr + 148 3 CoreFoundation 0x4b74c _CFLogvEx2Predicate + 368 4 CoreFoundation 0x67a44 _CFLogvEx3 + 252 5 Foundation 0x4848c _NSLogv + 124 6 Foundation 0x3fc4c NSLog + 56 7 OrbwebM2MKit 0xee04 sigpipe_handler + 20 8 libsystem_platform.dylib 0x1c18 _sigtramp + 56 9 CoreFoundation 0xdd3b4 _logToStderr + 168 10 CoreFoundation 0x4b74c _CFLogvEx2Predicate + 368 11 CoreFoundation 0x67a44 _CFLogvEx3 + 252 12 Foundation 0x4848c _NSLogv + 124 13 Foundation 0x3fc4c NSLog + 56 14 Runner 0xc8970 -[IJKAudioKit setActive:] + 81 (IJKAudioKit.m:81) 15 Runner 0xcfbd8 -[IJKFFMediaPlayer audioSessionInterrupt:] + 589 (IJKFFMediaPlayer.m:589) 16 CoreFoundation 0x2aee8 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 28 17 CoreFoundation 0xc6b9c _CFXRegistrationPost_block_invoke + 52 18 CoreFoundation 0x99f54 _CFXRegistrationPost + 456 19 CoreFoundation 0x40d54 _CFXNotificationPost + 716 20 Foundation 0x1b028 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96 21 AudioSession 0xbf78 -[AVAudioSession privateInterruptionWithInfo:] + 1740 22 AudioSession 0xcdb8 invocation function for block in avfaudio::AVAudioSessionPropertyListener(void, unsigned int, unsigned int, void const) + 56 23 libdispatch.dylib 0x1c04 _dispatch_call_block_and_release + 32 24 libdispatch.dylib 0x3950 _dispatch_client_callout + 20 25 libdispatch.dylib 0x11d30 _dispatch_main_queue_callback_4CF + 940 26 CoreFoundation 0x51ce4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 27 CoreFoundation 0xbebc CFRunLoopRun + 2540 28 CoreFoundation 0x1f3c8 CFRunLoopRunSpecific + 600 29 GraphicsServices 0x138c GSEventRunModal + 164 30 UIKitCore 0x51b060 -[UIApplication _run] + 1100 31 UIKitCore 0x298b8c UIApplicationMain + 2124 32 Runner 0x5eec main + 6 (AppDelegate.swift:6) 33 ??? 0x101955a24 (Missing)