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

Måns Rullgård mans
Wed Mar 24 16:57:06 CET 2010


Michael Niedermayer <michaelni at gmx.at> writes:

>> In the same topic I'd like to port the sctp code from nemesi to ffmpeg,
>> that would require a dep on libsctp on linux.
>
> what is sctp used/needed for?
> a quick look in the rfc makes it sound like a reinvention of tcp

No, it's not.  SCTP is message-oriented (like UDP) where TCP is
stream-oriented.  This eliminates the need for message framing at the
application level.  SCTP also supports multicast.  Unlike UDP,
however, lost packets are detected at the protocol level.

I don't understand the need for a lib though.  Many years ago, I was
experimenting with SCTP, and I didn't use any library.  It was all
done with extended parameters for socket() and some setsockopt()
calls.  I guess that was before the wrapper-lib-for-everything madness
completely took over.

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



More information about the ffmpeg-devel mailing list