This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jorge.Gomes
Recipients Jorge.Gomes
Date 2012-10-04.18:39:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349375961.84.0.319840553089.issue16134@psf.upfronthosting.co.za>
In-reply-to
Content
Please add support in urlparse for the family of RTMP schemes:
rtmp
rtmpe
rtmps
rtmpt

I believe these schemes should be added to the following module variables:
uses_relative
uses_netloc
uses_params
uses_query
[essentially, the one where rtsp already is]

The RTMP spec is hosted at http://www.adobe.com/devnet/rtmp.html which describes the format as "protocol://servername:port/"
The example provided there is rtmp://localhost:1935/test

An example YouTube RTMP *service* URL looks like:
rtmp://a.rtmp.youtube.com/videolive?ns=yt-live&id=123456&itag=35&signature=blahblahblah

Please let me know if further information is required.

Thanks!

========================================
Footnote:

A full YouTube RTMP stream URL may look like this:

rtmp://a.rtmp.youtube.com/videolive?ns=yt-live&id=123456&itag=35&signature=blahblahblah/yt-live.123456.35

i.e. it is the stream service url suffixed with '/' + the_stream_name. 

When one uses urlparse (extended with the 'rtmp' scheme), the stream name part gets lumped in with the last query value.
I think it's reasonable to expect the user of the urlparse library to strip the stream name off, thus returning just the service URL, which can be parsed normally. However, if urlparse could handle this sort use-case generically, then that would be great.
History
Date User Action Args
2012-10-04 18:39:21Jorge.Gomessetrecipients: + Jorge.Gomes
2012-10-04 18:39:21Jorge.Gomessetmessageid: <1349375961.84.0.319840553089.issue16134@psf.upfronthosting.co.za>
2012-10-04 18:39:21Jorge.Gomeslinkissue16134 messages
2012-10-04 18:39:20Jorge.Gomescreate