tcking / GiraffePlayer

android video player base on ijkplayer
Apache License 2.0
681 stars 193 forks source link

rtmp #11

Closed AppNetDeveloper closed 8 years ago

AppNetDeveloper commented 8 years ago

Hello again.

I have a small problem . If using RTMP goes perfectly, but if RTMP is "rtmp://1111.11111.1111.11/live swfUrl=http://web/swf/WebTV.swf playpath=wt_2plus.stream" not working. I can not find the problem.

tcking commented 8 years ago

Download VLC and play the url,is there everything goes well?

AppNetDeveloper commented 8 years ago

I refer to what I do is that: if RTMP has a token or a swf address, no longer open. if RTMP, one piece opens it.

These days I'll do more translations, and other small changes that I hope to like and I hope with your help to modify the bar mediacontroller to be a little more special and can be used with d-pad (android tv).

AppNetDeveloper commented 8 years ago
02-22 14:36:26.299 5239-5239/ro.vrt.videoplayerstreaming I/IJKMEDIA: ===================
02-22 14:36:26.299 5239-5802/ro.vrt.videoplayerstreaming D/IJKMEDIA: FFP_MSG_FLUSH:
02-22 14:36:26.301 5239-5239/ro.vrt.videoplayerstreaming D/IJKMEDIA: ijkmp_prepare_async()=0
02-22 14:36:26.301 5239-5803/ro.vrt.videoplayerstreaming I/IJKMEDIA: SDL_RunThread: [5803] ff_vout
02-22 14:36:26.301 5239-5804/ro.vrt.videoplayerstreaming I/IJKMEDIA: SDL_RunThread: [5804] ff_read
02-22 14:36:26.302 5239-5804/ro.vrt.videoplayerstreaming W/IJKMEDIA: remove 'timeout' option for rtmp.
02-22 14:36:26.303 5239-5804/ro.vrt.videoplayerstreaming W/IJKMEDIA: Detected librtmp style URL parameters, these aren't supported by the libavformat internal RTMP handler currently enabled. See the documentation for the correct way to pass parameters.
02-22 14:36:26.409 5239-5804/ro.vrt.videoplayerstreaming D/IJKMEDIA: Handshaking...
02-22 14:36:26.510 5239-5804/ro.vrt.videoplayerstreaming D/IJKMEDIA: Type answer 3
02-22 14:36:26.510 5239-5804/ro.vrt.videoplayerstreaming D/IJKMEDIA: Server version 4.0.3.1
02-22 14:36:26.510 5239-5804/ro.vrt.videoplayerstreaming D/IJKMEDIA: Proto = rtmp, path = /news/, app = news, fname = 
02-22 14:36:26.729 5239-5804/ro.vrt.videoplayerstreaming D/IJKMEDIA: Server bandwidth = 2500000
02-22 14:36:26.730 5239-5804/ro.vrt.videoplayerstreaming D/IJKMEDIA: Client bandwidth = 2500000
02-22 14:36:26.730 5239-5804/ro.vrt.videoplayerstreaming D/IJKMEDIA: New incoming chunk size = 4096
02-22 14:36:26.730 5239-5804/ro.vrt.videoplayerstreaming E/IJKMEDIA: Unknown connect error (unsupported authentication method?)
02-22 14:36:26.730 5239-5804/ro.vrt.videoplayerstreaming E/IJKMEDIA: Server error: Connection failed.

This is log error rtmp

tcking commented 8 years ago

try using flv instead of swf

AppNetDeveloper commented 8 years ago

Do not go, unfortunately I'm sending you private, and you see the RTMP

SuperUserek commented 7 years ago

Hi there how did you managed to play this kind of streams? The issue was closed but no description how that has been done, would be good if you could point me out how did u set the parameters up. or what funcion did u use to play this url i mean: rtmp://xx.xx.xx.xx.live playpath=xc app=live/ swfurl=http://xx.xx.xx.xx/player.swf

thanks