yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

Vitamio is crashing before playing video #263

Open RohitPSoni opened 9 years ago

RohitPSoni commented 9 years ago

I am trying to play rtsp: but while app launch it is crashing.... heres a log

04-14 11:20:40.981: I/Vitamio[4.2.6]Player: Application package name: com.example.vitamioplayer 04-14 11:20:40.981: I/Vitamio[4.2.6]Player: WOW: BRILLIANT C COUNT 4 04-14 11:20:40.981: I/Vitamio[4.2.6]Player: OPEN STREAM VIDEO BEGIN 04-14 11:20:40.981: I/Vitamio[4.2.6]Player: OPEN STREAM VIDEO END 04-14 11:20:40.981: I/Vitamio[4.2.6]Player: DEMUX SIG: 0 04-14 11:20:40.981: I/Vitamio[4.2.6]Player: THREAD PREPARE DETTACHED, ret = 0 04-14 11:20:40.981: I/Vitamio[4.2.6]Player: THREAD PREPARE END 04-14 11:20:40.991: I/Vitamio[4.2.6]Player: CC: SwsScale c 04-14 11:20:41.041: I/Vitamio[4.2.6]Player: start 04-14 11:20:41.041: I/VitamioPlayer: Info (701, 0) 04-14 11:20:41.041: I/Vitamio[4.2.6]Player: stop 04-14 11:20:41.071: I/Vitamio[4.2.6]Player: getDuration 04-14 11:20:41.081: W/dalvikvm(3600): Invalid indirect reference 0x426644a0 in decodeIndirectRef 04-14 11:20:41.081: I/dalvikvm(3600): "Thread-202" prio=5 tid=12 RUNNABLE 04-14 11:20:41.081: I/dalvikvm(3600): | group="main" sCount=0 dsCount=0 obj=0x425e5580 self=0x77e87de0 04-14 11:20:41.081: I/dalvikvm(3600): | sysTid=3633 nice=0 sched=0/0 cgrp=apps handle=2012007952 04-14 11:20:41.081: I/dalvikvm(3600): | state=R schedstat=( 27687130 57555059 341 ) utm=1 stm=1 core=2 04-14 11:20:41.081: I/dalvikvm(3600): at dalvik.system.NativeStart.run(Native Method) 04-14 11:20:41.081: E/dalvikvm(3600): VM aborting 04-14 11:20:41.081: A/libc(3600): Fatal signal 6 (SIGABRT) at 0x00000e10 (code=-6), thread 3633 (e.vitamioplayer)

omazrv commented 9 years ago

The same in my app

MythodeaLoL commented 9 years ago

Try header.put("rtsp_transport", "tcp"); // udp or tcp