使用带有标题中会话信息的mediaplayer播放m3u8流时出现致命错误

时间:2019-06-09 10:07:31

标签: android-mediaplayer m3u8

当我通过Mediaplayer播放带有标题信息的m3u8流时,出现此错误:

我使用的

功能: mediaplayer.setDataSource(上下文,Uri.parse(path),标头);

2019-06-09 16:55:01.101 31239-31559 /? A / avc_utils:frameworks / av / media / libstagefright / avc_utils.cpp:503 CHECK_LE(sample_freq_index,11u)失败:13 vs. 11

--------- beginning of crash

2019-06-09 16:55:01.101 31239-31559 /? A / libc:致命信号6(SIGABRT),TID 31559(Fetcher)中的代码-6 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG: * < / strong> > > * 2019-06-09 16:55:01.107 31563-31563 /? A /调试:构建指纹:“ google / sdk_google_phone_x86 / generic_x86:7.0 / NYC / 4409132:user / release-keys” 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:修订:“ 0” 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:ABI:“ x86” 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:pid:31239,tid:31559,名称:Fetcher >>> / system / bin / mediaserver <<< 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:信号6(SIGABRT),代码-6(SI_TKILL),故障加法器-------- 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:EAX 00000000 ebx 00007a07 ecx 00007b47 edx 00000006 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:esi aac81978 edi aac81920 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b 2019-06-09 16:55:01.107 31563-31563 /? A / DEBUG:eip add04424 ebp aac80f28 esp aac80ecc标志00000292 2019-06-09 16:55:01.110 31563-31563 /? A / DEBUG:回溯: 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#00 pc ffffe424 [vdso:add04000](__kernel_vsyscall + 16) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#01 pc 0007a00c /system/lib/libc.so(tgkill + 28) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#02 pc 00075855 /system/lib/libc.so(pthread_kill + 85) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#03 pc 0002782a /system/lib/libc.so(raise + 42) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#04 pc 0001ee06 /system/lib/libc.so(中止+86) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#05 pc 0000fd55 /system/lib/libcutils.so(__android_log_assert + 245) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#06 pc 0013e32a /system/lib/libstagefright.so(_ZN7android24MakeAACCodecSpecificDataEjjj + 602) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#07 pc 00025fc7 /system/lib/libstagefright_httplive.so(_ZN7android15PlaylistFetcher26extractAndQueueAccessUnitsERKNS_2spINS_7ABufferEEERKNS1_INS_8AMessageEEE + 2279) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#08 pc 00022d5d /system/lib/libstagefright_httplive.so(_ZN7android15PlaylistFetcher14onDownloadNextEv + 2749) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#09 pc 0002147e /system/lib/libstagefright_httplive.so(_ZN7android15PlaylistFetcher17onMessageReceivedERKNS_2spINS_8AMessageEEE + 958) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#10 pc 0000fd53 /system/lib/libstagefright_foundation.so(_ZN7android8AHandler14deliverMessageERKNS_2spINS_8AMessageEEE + 51) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#11 pc 0001473c /system/lib/libstagefright_foundation.so(_ZN7android8AMessage7deliverEv + 124) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#12 pc 000112bc /system/lib/libstagefright_foundation.so(_ZN7android7ALooper4loopEv + 588) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#13 pc 00011d73 /system/lib/libstagefright_foundation.so(_ZN7android7ALooper12LooperThread10threadLoopEv + 35) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#14 pc 0001201f /system/lib/libutils.so(_ZN7android6Thread11_threadLoopEPv + 207) 2019-06-09 16:55:01.111 31563-31563 /? A /调试:#15 pc 00011873 /system/lib/libutils.so(_ZN13thread_data_t10trampolineEPKS_ + 259) 2019-06-09 16:55:01.112 31563-31563 /? A /调试:#16 pc 00074fb2 /system/lib/libc.so(_ZL15__pthread_startPv + 210) 2019-06-09 16:55:01.112 31563-31563 /? A /调试:#17 pc 0002026e /system/lib/libc.so(__start_thread + 30) 2019-06-09 16:55:01.112 31563-31563 /? A /调试:#18 pc 0001e046 /system/lib/libc.so(__bionic_clone + 70)

0 个答案:

没有答案