[vlc-devel] [PATCH 1/2] access{_out}:srt: introduce SRT input/ouput
Rémi Denis-Courmont
remi at remlab.net
Wed Aug 9 21:43:38 CEST 2017
Le torstaina 10. elokuuta 2017, 3.13.54 EEST Justin Kim a écrit :
> Secure Reliable Transport (SRT) is a proprietary transport technology
> that optimizes streaming performance across unpredictable networks.
>
> Signed-off-by: Justin Kim <justin.kim at collabora.com>
> ---
> NEWS | 1 +
> configure.ac | 6 +
> modules/MODULES_LIST | 2 +
> modules/access/Makefile.am | 8 +
> modules/access/srt.c | 216 +++++++++++++++++++
> modules/access_output/Makefile.am | 7 +
> modules/access_output/srt.c | 437
> ++++++++++++++++++++++++++++++++++++++ 7 files changed, 677 insertions(+)
> create mode 100644 modules/access/srt.c
> create mode 100644 modules/access_output/srt.c
>
> diff --git a/NEWS b/NEWS
> index ef31c19a83..369b7e6c51 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -29,6 +29,7 @@ Core:
> es category single only or multiple es behavior
>
> Access:
> + * New SRT access module using libsrt
> * New NFS access module using libnfs
> * New SMB access module using libdsm
> * Rewrite MPEG-DASH (Dynamic Adaptive Streaming over HTTP) support,
> including diff --git a/configure.ac b/configure.ac
> index 8487fea895..920acb3dbc 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3859,6 +3859,12 @@ AS_IF([test "${enable_lirc}" = "yes"], [
> ])
> AM_CONDITIONAL([HAVE_LIRC], [test "${have_lirc}" = "yes"])
>
> +dnl
> +dnl SRT plugin
> +dnl
> +PKG_ENABLE_MODULES_VLC([SRT], [], [srt >= 1.2.0], [srt input/output
> plugin], [auto])
> +AM_CONDITIONAL([HAVE_SRT], [test "${enable_srt}" = "yes"])
This does not work. HAVE_SRT will be false if SRT was autodetected (or the
user did something funny like --enable-srt=foobar).
As said before, you can't use the VLC wrappers here.
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list