[FFmpeg-devel] [PATCH]RTSP Basic Authentication
Luca Barbato
lu_zero
Fri Jan 16 21:41:37 CET 2009
Philip Coombes wrote:
> First time post so be gentle!
>
> Attached is a patch that adds basic authentication to the RTSP
> functionality. This is necessary for some IP cameras (e.g. ACTi ones)
> that do not support anonymous viewing but also desirable on those that
> do for security reasons. An enhanced implementation might consider
> adding digest based authentication as a further option but this is not
> included in this patch.
>
> I hope this meets all the various guidelines and standards for posting
> etc etc.
char auth[128], host[1024], path[1024], tcpname[1024], cmd[2048],
*option_list, *option;
http.c uses an auth[1024] I hadn't checked rfc2617 to be sure which is
right..
Beside that looks fine (I should check if would be possible factorize
http and rtsp common code)
lu
--
Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the ffmpeg-devel
mailing list