rtmp: panic when given url is incomplete

Issue #73 resolved
Saxon Milton created an issue

I noticed that if I give rtmp.Dial a dodgy url, like "rtmp://a.rtmp.youtube.com/live2" we get a panic in parseURL, line 86. If we were to change a param remotely and messed this, it would cause revid to crash. It could be debated that revid should check the validity of the url though.

Comments (6)

  1. kortschak

    I meant to raise this this morning. I noticed that you error on rtmp://addr/ where I didn't. That should be added, I think.

  2. Log in to comment