<br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 12:10 AM, Steven Penny <span dir="ltr"><<a href="mailto:svnpenn@gmail.com" target="_blank">svnpenn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im HOEnZb">On Tue, Oct 23, 2012 at 11:39 PM, NhJm wrote:<br>
>> - /* skip extension */<br>
>> - if (subExt && p == ext) {<br>
>> - p += 4;<br>
>> - pplen -= 4;<br>
>> - continue;<br>
>> - }<br>
><br>
> Please be careful not to break things.<br>
<br>
</div><div class="im HOEnZb">If you are certain this is an error, please state as such. In the mean time I<br>
will assume it is and check it.<br></div></blockquote><div><br>rtmpdump's current behavior is to translate "blah.mp4?foo" into "mp4:blah?foo". By removing this piece of code, rtmpdump will instead generate "mp4:blah.mp4?foo"<br>
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im HOEnZb">> Anyways, the proper behavior is to actually *NOT* do any urldecoding. The<br>
> %xx should be sent to the server as-is.<br>
<br>
</div><div class="HOEnZb"><div class="h5">This has not been my experience. Admittedly I have only been testing with that<br>
one server, but it is not accepting encoded characters. Notice carefully the<br>
literal newlines in the first example.<br>
</div></div></blockquote></div><br>The official Flash Player does not urldecode the path like rtmpdump is currently doing to part of the URL.<br><br>Using <a href="http://support.akamai.com/flash/">http://support.akamai.com/flash/</a> to test<br>
<br>rtmp://<a href="http://cp67126.edgefcs.net/on%64emand/mp4:mediapm/ovp/content/test/video/spacealone%68d_sounas_640_300.mp4">cp67126.edgefcs.net/on%64emand/mp4:mediapm/ovp/content/test/video/spacealone%68d_sounas_640_300.mp4</a><br>
(random letters in the app and playpath have been urlencoded)<br><br>results in the characters being sent as-is: <a href="http://i.imgur.com/wBxp4.png">http://i.imgur.com/wBxp4.png</a><br><br>Also note that the weird stream you're testing will accept spaces in addition to line breaks, so this whole urlencoding issue is easy to avoid for that stream:<br>
<br>rtmpdump -r "rtmp://<a href="http://freeview.fms.visionip.tv/live/tvnetwork-hellenictv-sigma-hsslive-25f-4x3-SDh">freeview.fms.visionip.tv/live/tvnetwork-hellenictv-sigma-hsslive-25f-4x3-SDh</a> " --live<br>
(In case the previous line gets broken up: there is a space between SDh and the quotation mark.)<br>