avformat/libsrt: add several options supported in srt 1.3.0
authorMatsuzawa Tomohiro <thmatuza75@hotmail.com>
Tue, 23 Oct 2018 04:34:29 +0000 (04:34 +0000)
committerMarton Balint <cus@passwd.hu>
Tue, 23 Oct 2018 17:42:48 +0000 (19:42 +0200)
commitc2ac3b8e6a040e33d53fa13548848c8ba981a8e4
treef26dfa26220095c59fa42dcd9fd41615bc20e5ea
parent110b4a491859e6e635f6513670785a9378c9551b
avformat/libsrt: add several options supported in srt 1.3.0

Several SRT options are missing. Since pkg_config requires libsrt v1.3.0 and above, it should be able to support options added in libsrt v1.3.0 and below.
This commit adds 8 SRT options.
sndbuf, rcvbuf, lossmaxttl, minversion, streamid, smoother, messageapi and transtype
The keys of option are equivalent to stransmit.
https://github.com/Haivision/srt/blob/v1.3.0/apps/socketoptions.hpp#L196-L223

Signed-off-by: Marton Balint <cus@passwd.hu>
doc/protocols.texi
libavformat/libsrt.c
libavformat/version.h