[Libav-user] Setup ffmpeg lib for SRTP stream without sdp
christian.bruns at 1000eyes.org
Tue Sep 8 09:29:04 EEST 2020
Is it possible to setup a srtp stream with ffmpeg lib without having a sdp file? For testing I’m creating a sdp file at the client, write it to filesystem and put the path as parameter to avformat_open_input. But I need a way to setup ffmpeg lib without writing the file to the filesystem.
My client side created testing sdp looks like:
c=IN IP4 10.6.x.x
m=video 8881 RTP/AVP 96
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:xxxxxxxxxxxxxxxx
I think the last line correspond to
av_dict_set(&option, "srtp_in_suite", "AES_CM_128_HMAC_SHA1_80", 0);
av_dict_set(&option, "srtp_in_params”,” xxxxxxxxxxxxxxxx", 0);
But how do I setup the other parameters?
Mit freundlichen Grüßen, Sincerely yours,
Bird Home Automation GmbH
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user