Run RMP on Android
Dmitry Kazakov
dmitriikazakov at gmail.com
Thu Mar 6 00:44:49 PST 2014
Hi all,
I'm trying to play rtmp steam an Android device. I use application from
tutorial 4, where I changed url on rtmp://itv08.digiquite.dk/tv2b. As I
understand "playbin" should support it out of the box.
Instead application failed with errors:
E/GStreamer+rtmpsrc(22897): 0:00:10.237437999 0x21430a0
gstrtmpsrc.c:234:gst_rtmp_src_uri_set_uri:<source> Failed to parse URI
rtmp://itv08.digiquite.dk/tv2b
W/GStreamer+GST_URI(22897): 0:00:10.237600999 0x21430a0
gsturi.c:611:gst_element_make_from_uri source didn't accept URI 'rtmp://
itv08.digiquite.dk/tv2b': Could not parse RTMP URI
W/GStreamer+uridecodebin(22897): 0:00:10.237925999 0x21430a0
gsturidecodebin.c:1404:gen_source_element:<uridecodebin1> error: Could not
parse RTMP URI
W/GStreamer+uridecodebin(22897): 0:00:10.238139999 0x21430a0
gsturidecodebin.c:1404:gen_source_element:<uridecodebin1> error: No element
accepted URI 'rtmp://itv08.digiquite.dk/tv2b'
D/GStreamer+tutorial-4(22897): 0:00:10.238458999 0x21a6ea0
jni/tutorial-4.c:104:set_ui_message Setting message to: Error received from
element uridecodebin1: Could not parse RTMP URI
Sources contains this piece of code:
if (!RTMP_ParseURL (uri, &protocol, &host, &port, &playpath, &app) ||
!host.av_len || !playpath.av_len) {
GST_ERROR_OBJECT (src, "Failed to parse URI %s", uri);
g_set_error (error, GST_URI_ERROR, GST_URI_ERROR_BAD_URI,
"Could not parse RTMP URI");
return FALSE;
}
Unlikely, I can't find the definition of RTMP_ParseURL- all files are
included to this class don't have this method. Librtmp has one but it
either doesn't give an idea what is going wrong
http://subversion.assembla.com/svn/sget/tools/rtmpdump/librtmp/parseurl.c,
My url doesn't have a port - can this be an issue?
Thanks.
--
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140306/9d10879b/attachment.html>
More information about the gstreamer-devel
mailing list