mymbrooks / vlcandroiddemo Goto Github PK
View Code? Open in Web Editor NEWVLCAndroidDemo
VLCAndroidDemo
播放器发生错误或者网络不稳定重连的监听要怎么实现???
crash之前的log
07-04 16:06:26.236 6195-6294/info.ruibu.vlcandroiddemo E/NdkMediaCodec: sf error code: -38
07-04 16:06:26.630 1860-1860/? D/WifiSignalController: setWifiIndicators: mCurrentState={connected=true,enabled=true,level=2,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=true,activityOut=false,rssi=-60,theme=0,activity=0,lastModified=07-04 04:06:26,ssid="caton-office"}, statusIcon=true, desc="caton-office"
07-04 16:06:26.641 6195-6294/info.ruibu.vlcandroiddemo E/NdkMediaCodec: sf error code: -38
07-04 16:06:26.876 646-646/? I/cnss-daemon: RTM_NEWROUTE Indication
07-04 16:06:27.185 646-646/? I/cnss-daemon: RTM_NEWNEIGH message received: 28
07-04 16:06:27.185 646-646/? E/cnss-daemon: Stale or unreachable neighbors, ndm state: 4
07-04 16:06:27.278 6195-6294/info.ruibu.vlcandroiddemo E/NdkMediaCodec: sf error code: -38
07-04 16:06:27.618 6195-6294/info.ruibu.vlcandroiddemo E/NdkMediaCodec: sf error code: -38
07-04 16:06:27.633 1860-1860/? D/WifiSignalController: setWifiIndicators: mCurrentState={connected=true,enabled=true,level=2,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=true,activityOut=true,rssi=-60,theme=0,activity=0,lastModified=07-04 04:06:27,ssid="caton-office"}, statusIcon=true, desc="caton-office"
07-04 16:06:28.000 6195-6294/info.ruibu.vlcandroiddemo E/NdkMediaCodec: sf error code: -38
07-04 16:06:28.638 1860-1860/? D/WifiSignalController: setWifiIndicators: mCurrentState={connected=true,enabled=true,level=2,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=true,activityOut=false,rssi=-60,theme=0,activity=0,lastModified=07-04 04:06:28,ssid="caton-office"}, statusIcon=true, desc="caton-office"
07-04 16:06:28.802 6195-6294/info.ruibu.vlcandroiddemo E/NdkMediaCodec: sf error code: -38
07-04 16:06:28.910 2132-2132/? I/wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
07-04 16:06:28.918 2353-11451/? I/QtiTetherService: limitReached Alert received limitName: globalAlert on Interface: wlan0
07-04 16:06:28.930 1565-1751/? I/TetherStatsReporting: getTetherStats() called NetworkStats: elapsedRealtime=681464537
[0] iface=wlan0 uid=0 set=DEFAULT tag=0x0 roaming=NO rxBytes=282636473 rxPackets=521982 txBytes=1253737 txPackets=18158 operations=0
[1] iface=wlan0 uid=0 set=FOREGROUND tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[2] iface=wlan0 uid=1000 set=DEFAULT tag=0x0 roaming=NO rxBytes=4329650 rxPackets=13064 txBytes=4243061 txPackets=13745 operations=0
[3] iface=wlan0 uid=1000 set=FOREGROUND tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[4] iface=wlan0 uid=10014 set=DEFAULT tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[5] iface=wlan0 uid=10014 set=FOREGROUND tag=0x0 roaming=NO rxBytes=4063 rxPackets=25 txBytes=1303620 txPackets=21529 operations=0
[6] iface=wlan0 uid=10016 set=DEFAULT tag=0x0 roaming=NO rxBytes=1201101 rxPackets=15500 txBytes=3095782 txPackets=32558 operations=0
[7] iface=wlan0 uid=10016 set=FOREGROUND tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[8] iface=wlan0 uid=10025 set=DEFAULT tag=0x0 roaming=NO rxBytes=17328 rxPackets=121 txBytes=20614 txPackets=183 operations=0
[9] iface=wlan0 uid=10025 set=FOREGROUND tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[10] iface=wlan0 uid=10030 set=DEFAULT tag=0x0 roaming=NO rxBytes=32982 rxPackets=268 txBytes=784864 txPackets=11481 operations=0
[11] iface=wlan0 uid=10030 set=FOREGROUND tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[12] iface=wlan0 uid=10034 set=DEFAULT tag=0x0 roaming=NO rxBytes=52 rxPackets=1 txBytes=104 txPackets=2 operations=0
[13] iface=wlan0 uid=10034 set=FOREGROUND tag=0x0 roaming=NO rxBytes=1743 rxPackets=11 txBytes=2248 txPackets=14 operations=0
[14] iface=wlan0 uid=10035 set=DEFAULT tag=0x0 roaming=NO rxBytes=198944 rxPackets=2687 txBytes=275627 txPackets=4500 operations=0
[15] iface=wlan0 uid=10035 set=FOREGROUND tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[16] iface=wlan0 uid=10037 set=DEFAULT tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[17] iface=wlan0 uid=10037 set=FOREGROUND tag=0x0 roaming=NO rxBytes=25439338 rxPackets=18075 txBytes=636742 txPackets=10182 operations=0
[18] iface=wlan0 uid=10039 set=DEFAULT tag=0x0 roaming=NO rxBytes=126686 rxPackets=268 txBytes=33223 txPackets=317 operations=0
[19] iface=wlan0 uid=10039 set=FOREGROUND tag=0x0 roaming=NO rxBytes=208332 rxPackets=242 txBytes=20586 txPackets=253 operations=0
[20] iface=wlan0 uid=10040 set=DEFAULT tag=0x0 roaming=NO rxBytes=45216 rxPackets=280 txBytes=54819 txPackets=356 operations=0
[21] iface=wlan0 uid=10040 set=FOREGROUND tag=0x0 roaming=NO rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
[22] iface=wlan0 uid=10052 set=DEFAULT tag=0x0 roaming=NO rxBytes=17607 rxPackets=140 txBytes=31721 txPackets=394 operations=0
[23] iface=wlan0 uid=10052 set=FOREGROUND tag=0x0 roaming=NO rxBytes=29374479 rxPackets=20257 txBytes=272275 txPackets=3822 operations=0
[24] iface=wlan0 uid=10071 set=DEFAULT tag=0x0 roaming=NO rxBytes=866 rxPackets=5 txBytes=847 txPackets=7 operations=0
[25] iface=wlan0 uid=10071 set=FOREGROUND tag=0x0 roaming=NO rxBytes=3203 rxPackets=5 txBytes=611 txPackets=6 operations=0
[26] iface=wlan0 uid=10079 set=DEFAULT tag=0x0 roaming=NO rxBytes=1313569 rxPackets=2360 txBytes=482213 txPackets=3412 operations=0
[27] iface=wlan0 uid=10079 set=FOREGROUND tag=0x0 roaming=NO rxBytes=14866 rxPackets=27 txBytes=3042 txPackets=33 operations=0
[28] iface=wlan0 uid=10082 set=DEFAULT tag=0x0 roaming=NO rxBytes=430444 rxPackets=1522 txBytes=659861 txPackets=2363 operations=0
[29] iface=wlan0 uid=10082 set=FOREGROUND tag=0x0 roaming=NO rxBytes=1534717 rxPackets=1665 txBytes=650178 txPackets=1992 operations=0
[30] iface=wlan0 uid=10086 set=DEFAULT tag=0x0 roaming=NO rxBytes=3378196 rxPackets=7796 txBytes=1564112 txPackets=9998 operations=0
[31] iface=wlan0 uid=
07-04 16:06:28.930 1565-1751/? I/TetherStatsReporting: combining tether stats
07-04 16:06:28.931 2353-16809/? D/QtiTetherService/IpaWrapper: getStats(false)
--------- beginning of crash
07-04 16:06:29.594 6195-6283/info.ruibu.vlcandroiddemo A/libc: Fatal signal 11 (SIGSEGV), code 0, fault addr 0x0 in tid 6283 (mediacodec_jni)
[ 07-04 16:06:29.594 425: 425 W/ ]
debuggerd: handling request: pid=6195 uid=10177 gid=10177 tid=6283
07-04 16:06:29.662 7006-7006/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-04 16:06:29.662 7006-7006/? A/DEBUG: Build fingerprint: 'ZUK/z2_plus/z2_plus:7.0/NRD90M/3.1.117_171110:user/release-keys'
07-04 16:06:29.662 7006-7006/? A/DEBUG: Revision: '0'
07-04 16:06:29.662 7006-7006/? A/DEBUG: ABI: 'arm'
07-04 16:06:29.662 7006-7006/? A/DEBUG: pid: 6195, tid: 6283, name: mediacodec_jni >>> info.ruibu.vlcandroiddemo <<<
07-04 16:06:29.662 7006-7006/? A/DEBUG: signal 11 (SIGSEGV), code 0 (SI_USER), fault addr 0x0
07-04 16:06:29.662 7006-7006/? A/DEBUG: r0 00000000 r1 00000000 r2 00000001 r3 cb7b1400
07-04 16:06:29.662 7006-7006/? A/DEBUG: r4 cb7b1400 r5 cebbd92d r6 cb7b1400 r7 00013936
07-04 16:06:29.662 7006-7006/? A/DEBUG: r8 00000000 r9 00000000 sl 00000000 fp e0342800
07-04 16:06:29.662 7006-7006/? A/DEBUG: ip ee47f600 sp ce280720 lr ee45b1df pc ceae3672 cpsr 68000030
07-04 16:06:29.663 7006-7006/? A/DEBUG: backtrace:
07-04 16:06:29.663 7006-7006/? A/DEBUG: #00 pc 00289672 /data/app/info.ruibu.vlcandroiddemo-2/lib/arm/libvlcjni.so
Привет!
Спасибо за понятный рабочий код! Наконец-то я смогу перейти со старой версии этой библиотеки , теперь я понял что я делал не так!)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.