I love FFmpeg Mediaplayer as i found this good player after days of search.
I am unable to play RTMP url from
my RTMP url is valid. rtmp://airlive.nic.in/livepkgr/airmarathi. i tested it. (you could test it online here https://www.hlsplayer.net/rtmp-player)
I used the prebuilt AAR provided by you in the home page.
Here is the stacktrace...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1395)
D/PhoneWindowEx: [PWEx][generateLayout] setLGNavigationBarColor : colors=0xff000000
I/PhoneWindow: [setLGNavigationBarColor] color=0x ff000000
V/FFmpegMediaPlayer-JNI: native_init
V/FFmpegMediaPlayer-JNI: native_setup
V/FFmpegMediaPlayer-JNI: setDataSource: path rtmp://airlive.nic.in/livepkgr/airmarathi
D/libc: skt_base:0, kt_base:0, mptcp_enabled:0, socks_enabled:0, wifi_connected:1
D/libc: getaddrinfo called from pid =13793
D/libc: skt_base:0, kt_base:0, mptcp_enabled:0, socks_enabled:0, wifi_connected:1
D/libc: getaddrinfo called from pid =13793
D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/PhoneWindow: notifyNavigationBarColor, color=0x: ff000000, token: android.view.ViewRootImplAO$WEx@f1c9767
I/Adreno-EGL: : EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8909_LA.BR.1.2.6_RB1__release_AU (Idd51518bdf)
OpenGL ES Shader Compiler Version: E031.29.00.00
Build Date: 12/11/15 Fri
Local Branch:
Remote Branch: quic/LA.BR.1.2.6_rb1.5
Local Patches: NONE
Reconstruct Branch: NOTHING
I/OpenGLRenderer: Initialized EGL, version 1.4
V/RenderScript: 0xb923ecf8 Launching thread(s), CPUs 4
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@c61a44e time:352862330
V/FFmpegMediaPlayer-JNI: notify: 100
E/FFmpegMediaPlayer: Error (0,0)
V/FFmpegMediaPlayer-JNI: release
V/ViewRootImpl: Contents drawing finished : com.xyz.abc/com.xyz.abc.MainActivity
Disconnected from the target VM, address: 'localhost:8601', transport: 'socket'
Hi,
I love FFmpeg Mediaplayer as i found this good player after days of search.
I am unable to play RTMP url from my RTMP url is valid. rtmp://airlive.nic.in/livepkgr/airmarathi. i tested it. (you could test it online here https://www.hlsplayer.net/rtmp-player)
I used the prebuilt AAR provided by you in the home page.
Here is the stacktrace...
I/System.out: waiting for debugger to settle... I/System.out: waiting for debugger to settle... I/System.out: debugger has settled (1395) D/PhoneWindowEx: [PWEx][generateLayout] setLGNavigationBarColor : colors=0xff000000 I/PhoneWindow: [setLGNavigationBarColor] color=0x ff000000 V/FFmpegMediaPlayer-JNI: native_init V/FFmpegMediaPlayer-JNI: native_setup V/FFmpegMediaPlayer-JNI: setDataSource: path rtmp://airlive.nic.in/livepkgr/airmarathi D/libc: skt_base:0, kt_base:0, mptcp_enabled:0, socks_enabled:0, wifi_connected:1 D/libc: getaddrinfo called from pid =13793 D/libc: skt_base:0, kt_base:0, mptcp_enabled:0, socks_enabled:0, wifi_connected:1 D/libc: getaddrinfo called from pid =13793 D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true D/PhoneWindow: notifyNavigationBarColor, color=0x: ff000000, token: android.view.ViewRootImplAO$WEx@f1c9767 I/Adreno-EGL:: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8909_LA.BR.1.2.6_RB1__release_AU (Idd51518bdf)
OpenGL ES Shader Compiler Version: E031.29.00.00
Build Date: 12/11/15 Fri
Local Branch:
Remote Branch: quic/LA.BR.1.2.6_rb1.5
Local Patches: NONE
Reconstruct Branch: NOTHING
I/OpenGLRenderer: Initialized EGL, version 1.4
V/RenderScript: 0xb923ecf8 Launching thread(s), CPUs 4
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@c61a44e time:352862330
V/FFmpegMediaPlayer-JNI: notify: 100
E/FFmpegMediaPlayer: Error (0,0)
V/FFmpegMediaPlayer-JNI: release
V/ViewRootImpl: Contents drawing finished : com.xyz.abc/com.xyz.abc.MainActivity
Disconnected from the target VM, address: 'localhost:8601', transport: 'socket'
Here is my code:
can someone please help to fix it.
Thanks, Ramesh.