gstreamer/ext/srt/meson.build
Justin Kim f78be9d698 srt: Introduce SRT source and sink
SRT[0] is an open source transport technology[1] that optimizes
streaming performance across unpredictable networks.

Although SRT is based on UDP, it works like connection-oriented
protocol. However, it doesn't mean that the SRT server or client
is necessarily to link to a receiver or a sender so, here, the
pairs of source and sink elements are introduced.

 - srtserversink: SRT server to feed SRT stream
 - srtclientsrc:  SRT client to get SRT stream from srtserversink

 - srtclientsink: SRT client to send SRT stream
 - srtserversrc:  SRT server to listen from srtclientsink

[0] https://github.com/Haivision/srt
[1] http://www.srtalliance.org/

https://bugzilla.gnome.org/show_bug.cgi?id=785730
2017-11-07 14:34:48 -05:00

27 lines
658 B
Meson

srt_sources = [
'gstsrt.c',
'gstsrtbasesrc.c',
'gstsrtclientsrc.c',
'gstsrtserversrc.c',
'gstsrtbasesink.c',
'gstsrtclientsink.c',
'gstsrtserversink.c',
]
srt_dep = dependency('libsrt', required : false)
if not srt_dep.found() and cc.has_header_symbol('srt/srt.h', 'srt_startup')
srt_dep = cc.find_library('srt', required : false)
endif
if srt_dep.found()
gstsrt = library('gstsrt',
srt_sources,
c_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc, libsinc],
dependencies : [gstbase_dep, gio_dep, srt_dep],
install : true,
install_dir : plugins_install_dir,
)
endif