]> git.sesse.net Git - ffmpeg/commit
rtsp: Support decryption of SRTP signalled via RFC 4568 (SDES)
authorMartin Storsjö <martin@martin.st>
Sat, 20 Oct 2012 20:18:01 +0000 (23:18 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 15 Jan 2013 09:54:40 +0000 (11:54 +0200)
commit424da308302bef604844d3110a39f2f03bf5358e
tree701e11c88de13eaf50c51242886ace686de18342
parentab2ad8bd56882c0ea160b154e8b836eb71abc49d
rtsp: Support decryption of SRTP signalled via RFC 4568 (SDES)

This only takes care of decrypting incoming packets; the outgoing
RTCP packets are not encrypted. This is enough for some use cases,
and signalling crypto keys for use with outgoing RTCP packets
doesn't fit as simply into the API. If the SDP demuxer is hooked
up with custom IO, the return packets can be encrypted e.g. via the
SRTP protocol.

If the SRTP keys aren't available within the SDP, the decryption
can be handled externally as well (when using custom IO).

Signed-off-by: Martin Storsjö <martin@martin.st>
Changelog
libavformat/Makefile
libavformat/rtpdec.c
libavformat/rtpdec.h
libavformat/rtsp.c
libavformat/rtsp.h
libavformat/version.h