Open zlmkaka opened 6 years ago
Im having problems as well, just a blank screen, this is all i get from logcat
01-09 14:24:45.015: D/IJKMEDIA(6811): IjkMediaPlayer_setDataSourceAndHeaders 01-09 14:24:45.015: V/IJKMEDIA(6811): setDataSource: path rtsp://192.168.1.11/live 01-09 14:24:45.015: D/IJKMEDIA(6811): ijkmp_set_data_source(url="rtsp://192.168.1.11/live") 01-09 14:24:45.015: D/IJKMEDIA(6811): ijkmp_set_data_source(url="rtsp://192.168.1.11/live")=0 01-09 14:24:45.015: D/IJKMEDIA(6811): IjkMediaPlayer_setVideoSurface 01-09 14:24:45.015: D/IJKMEDIA(6811): ijkmp_set_android_surface(surface=0x80900021) 01-09 14:24:45.015: D/IJKMEDIA(6811): ffpipeline_set_surface() 01-09 14:24:45.015: D/IJKMEDIA(6811): ijkmp_set_android_surface(surface=0x80900021)=void 01-09 14:24:45.015: D/IJKMEDIA(6811): IjkMediaPlayer_prepareAsync 01-09 14:24:45.015: D/IJKMEDIA(6811): ijkmp_prepare_async() 01-09 14:24:45.015: W/IJKMEDIA(6811): remove 'timeout' option for rtmp. 01-09 14:24:45.015: I/IJKMEDIA(6811): SDL_RunThread: [6858] ff_msg_loop 01-09 14:24:45.015: D/IJKMEDIA(6811): message_loop 01-09 14:24:45.015: I/IJKMEDIA(6811): ===== versions ===== 01-09 14:24:45.015: D/IJKMEDIA(6811): FFP_MSG_FLUSH: 01-09 14:24:45.015: I/IJKMEDIA(6811): ijkplayer : 290d57a 01-09 14:24:45.015: I/IJKMEDIA(6811): FFmpeg : ff3.3--ijk0.8.0--20170829--001 01-09 14:24:45.015: I/IJKMEDIA(6811): libavutil : 55.58.100 01-09 14:24:45.015: I/IJKMEDIA(6811): libavcodec : 57.89.100 01-09 14:24:45.020: I/IJKMEDIA(6811): libavformat : 57.71.100 01-09 14:24:45.020: I/IJKMEDIA(6811): libswscale : 4.6.100 01-09 14:24:45.020: I/IJKMEDIA(6811): libswresample: 2.7.100 01-09 14:24:45.020: I/IJKMEDIA(6811): ===== options ===== 01-09 14:24:45.020: I/IJKMEDIA(6811): player-opts : mediacodec = 0 01-09 14:24:45.020: I/IJKMEDIA(6811): player-opts : opensles = 0 01-09 14:24:45.020: I/IJKMEDIA(6811): player-opts : overlay-format = 842225234 01-09 14:24:45.020: I/IJKMEDIA(6811): player-opts : framedrop = 1 01-09 14:24:45.020: I/IJKMEDIA(6811): player-opts : start-on-prepared = 0 01-09 14:24:45.020: I/IJKMEDIA(6811): format-opts : ijkapplication = 1618003216 01-09 14:24:45.020: I/IJKMEDIA(6811): format-opts : ijkiomanager = 1618003304 01-09 14:24:45.020: I/IJKMEDIA(6811): format-opts : http-detect-range-support = 0 01-09 14:24:45.020: I/IJKMEDIA(6811): codec-opts : skip_loop_filter = 48 01-09 14:24:45.020: I/IJKMEDIA(6811): =================== 01-09 14:24:45.020: I/IJKMEDIA(6811): SDL_RunThread: [6859] ff_vout 01-09 14:24:45.020: D/IJKMEDIA(6811): ijkmp_prepare_async()=0 01-09 14:24:45.020: I/IJKMEDIA(6811): SDL_RunThread: [6860] ff_read 01-09 14:24:45.020: W/IJKMEDIA(6811): remove 'timeout' option for rtmp. 01-09 14:24:45.025: D/IJKMEDIA(6811): No default whitelist set 01-09 14:24:45.045: I/IJKMEDIA(6811): Add dns cache hostname = 192.168.1.11, ip = 01-09 14:24:45.105: I/IJKMEDIA(6811): SDP: 01-09 14:24:45.105: I/IJKMEDIA(6811): v=0 01-09 14:24:45.105: I/IJKMEDIA(6811): o=- 0 0 IN IP4 192.168.1.11 01-09 14:24:45.105: I/IJKMEDIA(6811): s=LIVE VIEW 01-09 14:24:45.105: I/IJKMEDIA(6811): c=IN IP4 0.0.0.0 01-09 14:24:45.105: I/IJKMEDIA(6811): t=0 0 01-09 14:24:45.105: I/IJKMEDIA(6811): a=control:* 01-09 14:24:45.105: I/IJKMEDIA(6811): m=video 0 RTP/AVP 35 01-09 14:24:45.105: I/IJKMEDIA(6811): a=rtpmap:35 H264/90000 01-09 14:24:45.105: I/IJKMEDIA(6811): a=control:video 01-09 14:24:45.105: I/IJKMEDIA(6811): a=recvonly 01-09 14:24:45.105: I/IJKMEDIA(6811): a=fmtp:35 packetization-mode=1;profile-level-id=4d0032;sprop-parameter-sets=Z00AMppkA4AcNgLUBAQUCA==,aO48gA==
@skelt @zlmkaka , can anyone please tell me how to enable the RTSP streaming? I have a video on my server (strong desktop). I want to take that video and play it on my android phone using ijkmediaplayer.
now version 0.84 can't play h264 in rtsp ; how to setting and remake lib .so to support it