[rtmpdump] [PATCH] Publisher authentication

Sergiy piratfm at gmail.com
Fri Jun 18 14:09:48 CEST 2010

Hi all.

I need publisher authentication for my application with login/password
for rtmp-server (like in fme),
so I created dirty hack to add adboe-auth to librtmp.
It tested with fms and rtmpd and seems to work.

librtmp reconnect to server 3 times:
1st connection - get 403 error (server need auth).
2nd connection - publisher gives username and receive error again (but
server responses with salt & opaque)
3rd connection - publisher sent challenge & response for auth, and if
all ok, server sent "Connection succeeded".

But it still need to fix memory freeing.

Here is samples of my startup (like in ffmpeg's rtmp-output):
./sample/crusherRTMP -i 1 -s 720x576 -b 1000000 -a 96000 -d \
 pubUser=user  pubPasswd=hackme"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtmpdump-pub_auth.patch
Type: text/x-diff
Size: 10857 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20100618/67adfb5d/attachment.patch>

More information about the rtmpdump mailing list