<div dir="ltr"><div><div>Hi all,<br><br></div>I'm trying to play rtmp steam an Android device. I use application from tutorial 4, where I changed url on <span>rtmp://<a href="http://itv08.digiquite.dk/tv2b">itv08.digiquite.dk/tv2b</a></span><span>. As I understand "</span>playbin" should support it out of the box.<br>
</div><span></span><div><div><div><br></div><div>Instead application failed with errors:<br><br>E/GStreamer+rtmpsrc(22897): 0:00:10.237437999 0x21430a0 gstrtmpsrc.c:234:gst_rtmp_src_uri_set_uri:<source> Failed to parse URI rtmp://<a href="http://itv08.digiquite.dk/tv2b">itv08.digiquite.dk/tv2b</a><br>
W/GStreamer+GST_URI(22897): 0:00:10.237600999 0x21430a0 gsturi.c:611:gst_element_make_from_uri source didn't accept URI 'rtmp://<a href="http://itv08.digiquite.dk/tv2b">itv08.digiquite.dk/tv2b</a>': Could not parse RTMP URI<br>
W/GStreamer+uridecodebin(22897): 0:00:10.237925999 0x21430a0 gsturidecodebin.c:1404:gen_source_element:<uridecodebin1> error: Could not parse RTMP URI<br>W/GStreamer+uridecodebin(22897): 0:00:10.238139999 0x21430a0 gsturidecodebin.c:1404:gen_source_element:<uridecodebin1> error: No element accepted URI 'rtmp://<a href="http://itv08.digiquite.dk/tv2b">itv08.digiquite.dk/tv2b</a>'<br>
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<br><br></div><div>Sources contains this piece of code:<br>
<br>
<style type="text/css">PRE.ctl { font-family: "Lohit Hindi",monospace; }P { margin-bottom: 0.08in; }</style>
<p style="margin-bottom:0in"> if (!RTMP_ParseURL (uri, &protocol,
&host, &port, &playpath, &app) ||</p>
<pre class=""> !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;
}</pre>
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 <a href="http://subversion.assembla.com/svn/sget/tools/rtmpdump/librtmp/parseurl.c">http://subversion.assembla.com/svn/sget/tools/rtmpdump/librtmp/parseurl.c</a>, My url doesn't have a port - can this be an issue?<br>
<br></div><div>Thanks. <br></div><div><br>-- <br>Dmitry<br>
</div></div></div></div>