[FFmpeg-devel] [PATCH 1/6] RTMP output: move application part of mrl to protocol handler context

Kostya kostya.shishkov
Thu Dec 3 16:51:24 CET 2009


On Thu, Dec 03, 2009 at 05:14:36PM +0200, Sergiy wrote:
> 2009/12/2 Kostya <kostya.shishkov at gmail.com>:
> 
> > Part 5 - moving application path to context is fine, but replacing
> >         parsing code chunk is not

Applied.

> It's for wowza.
> If I trying to send to
> "rtmp://localhost/live/_definst_/doPublish=hackme/1tv0stream" (simple
> authorized).
> Current parser split path on this parts:
> Proto = rtmp, path = /live/_definst_/doPublish=hackme/test0, app =
> live, fname = _definst_/doPublish=hackme/test0
> 
> But sending works with this values:
> Proto = rtmp, path = /live/_definst_/doPublish=hackme/test0, app =
> live/_definst_/doPublish=hackme/, fname = test0

Well, I'm pretty sure that it sends its name in some notification
which can be used for sending different parameters to it.

Thank Adobe for failing to mention how to parse URLs in their RTMP spec.



More information about the ffmpeg-devel mailing list