On Sun, 16 Oct 2016 21:20:04 +0000 Jay <jayri...@gmail.com> wrote: > This is the approach present in avformat/rtsp.c, but I can modify. What is > preferred? > > For clarity, this patch does not copy url params from the `rtsps://` input. > It passes tls params provided as cmd line options to the `tls://` protocol > handler. > > Personally, I would like tls negotiation to be recognized in the tcp > handler and the connection upgraded to tls. This would allow for `rtsp://` > schemes to work with tls - nice if you do not initially know the connection > is secure ( parity with gstreamer ). Unfortunately I am new to ffmpeg and > there is a lot of code to digest. It also does not address encrypted udp. > > Let me know how best to proceed. Thank you. > Jay
ffurl_open_whitelist() has an options parameter. This is a AVDictionary that contains one option/value pair per entry. It _should_ be possible to pass down the options you want to set with this, instead of appending them to the URL. Although I haven't tried this myself, and can't be sure there isn't something else that breaks this. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel