gstreamer/gst-libs/gst/webrtc/meson.build
Matthew Waters 1894293d63 webrtcbin: an element that handles the transport aspects of webrtc connections
SDP's are generated and consumed according to the W3C PeerConnection API
available from https://www.w3.org/TR/webrtc/

The SDP is either created initially from the connected
sink pads/attached transceivers as in the case of generating an offer or
intersected with the connected sink pads/attached transceivers as in
the case for creating an answer.  In both cases, the rtp payloaded streams
sent by the peer are exposed as separate src pads.

The implementation supports trickle ICE, RTCP muxing, reduced size RTCP.

With contributions from:
Nirbheek Chauhan <nirbheek@centricular.com>
Mathieu Duponchelle <mathieu@centricular.com>
Edward Hervey <edward@centricular.com>

https://bugzilla.gnome.org/show_bug.cgi?id=792523
2018-02-02 15:02:21 +11:00

59 lines
1.5 KiB
Meson

webrtc_sources = [
'dtlstransport.c',
'icetransport.c',
'rtcsessiondescription.c',
'rtpreceiver.c',
'rtpsender.c',
'rtptransceiver.c',
]
webrtc_headers = [
'dtlstransport.h',
'icetransport.h',
'rtcsessiondescription.h',
'rtpreceiver.h',
'rtpsender.h',
'rtptransceiver.h',
'webrtc_fwd.h',
'webrtc.h',
]
webrtc_enumtypes_headers = [
'dtlstransport.h',
'icetransport.h',
'rtptransceiver.h',
'webrtc_fwd.h',
]
mkenums = find_program('webrtc_mkenum.py')
gstwebrtc_h = custom_target('gstwebrtcenum_h',
output : 'webrtc-enumtypes.h',
input : webrtc_enumtypes_headers,
install : true,
install_dir : 'include/gstreamer-1.0/gst/webrtc/',
command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
gstwebrtc_c = custom_target('gstwebrtcenum_c',
output : 'webrtc-enumtypes.c',
input : webrtc_enumtypes_headers,
depends : [gstwebrtc_h],
command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@'])
webrtc_gen_sources = [gstwebrtc_h]
gstwebrtc_dependencies = [gstbase_dep, gstpbutils_dep, gstsdp_dep]
gstwebrtc = library('gstwebrtc-' + api_version,
webrtc_sources, gstwebrtc_c, gstwebrtc_h,
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
include_directories : [configinc, libsinc],
version : libversion,
soversion : soversion,
install : true,
dependencies : gstwebrtc_dependencies,
)
install_headers(webrtc_headers, subdir : 'gstreamer-1.0/gst/webrtc')
gstwebrtc_dep = declare_dependency(link_with: gstwebrtc,
include_directories : libsinc,
dependencies: gstwebrtc_dependencies)