[FFmpeg-devel] [PATCH] Add support for digest auth in the http and rtsp protocols

Måns Rullgård mans
Wed Mar 24 23:49:08 CET 2010


Luca Barbato <lu_zero at gentoo.org> writes:

> On 03/24/2010 10:23 PM, M?ns Rullg?rd wrote:
>> Were deemed?  That's a matter of choice.  What's to simplify in
>> sendmsg() anyway?  Is it still possible to use the standard socket
>> interfaces directly?
>
> the sctp_sendmsg is about 31 lines of filling structs on top of a
> standard sendmsg, if you want to use the sctp features you need to write
> those 31 lines, if you don't care sendmsg is still available ^^;

Hmm, I didn't remember it being that big.  Did the struct grow?
Either way, an entire separate lib with all the burden that brings for
31 lines of code seems a bit excessive.

>>> and netinet/sctp.h is provided separately at least in linux.
>> 
>> That's silly.
>
> Agreed =)

BTW, where does one get that header nowadays?

>> It's only a few structs and constants.  Anyhow, a
>> dependency on an optional header is more palatable than an entire lib
>> of dubious quality.
>
> What's needed for rtsp/rtp is a smallish subset so probably we could
> manage to avoid that dependency hopefully some code will follow this
> discussion ^^;

:-)

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list