Skip to content
Snippets Groups Projects
Commit 62587d48 authored by Loïc's avatar Loïc Committed by Steve Lhomme
Browse files

meson: add rtp modules

parent 8d40b8c0
No related branches found
No related tags found
1 merge request!3699meson: add rtp modules
Pipeline #344870 passed with stages
in 37 minutes and 3 seconds
......@@ -601,6 +601,11 @@ option('rist',
value: 'auto',
description: 'librist support for access and access_output')
option('libgcrypt',
type: 'feature',
value: 'auto',
description: 'libgcrypt support')
# TODO: Missing live555
# TODO: Missing v4l2
# TODO: Missing nvdec
......@@ -636,7 +641,6 @@ option('rist',
# TODO: Missing lirc
# TODO: Missing projectm
# TODO: Missing vsxu
# TODO: Missing libgcrypt
# TODO: Missing kwallet
# TODO: Missing osx_notifications
# TODO: Missing dsm
......
......@@ -447,3 +447,6 @@ if librist_dep.found()
'dependencies' : [socket_libs, librist_dep]
}
endif
# RTP
subdir('rtp')
if libgcrypt_dep.found()
srtp_lib = static_library('srtp',
files('srtp.c', 'srtp.h'),
dependencies: [libgcrypt_dep],
include_directories: [vlc_include_dirs])
srtp_rtp_c_args = ['-DHAVE_SRTP']
else
srtp_lib = []
srtp_rtp_c_args = []
endif
vlc_modules += {
'name': 'rtp',
'sources':
files(
'input.c',
'session.c',
'sdp.c',
'sdp.h',
'rtpfmt.c',
'datagram.c',
'vlc_dtls.h',
'rtp.c',
'rtp.h',
),
'dependencies': [socket_libs],
'link_with': srtp_lib,
'c_args': srtp_rtp_c_args,
}
vlc_modules += {
'name': 'rtp_ac3',
'sources': files('ac3.c')
}
vlc_modules += {
'name': 'rtp_mpeg12',
'sources': files('mpeg12.c')
}
vlc_modules += {
'name': 'rtp_pcm',
'sources': files('pcm.c')
}
vlc_modules += {
'name': 'rtp_raw',
'sources': files('raw.c')
}
vlc_modules += {
'name': 'rtp_h264',
'sources': files('h264.c')
}
vlc_modules += {
'name': 'rtp_opus',
'sources': files('opus.c')
}
vlc_modules += {
'name': 'rtp_xiph',
'sources': files('xiph.c')
}
......@@ -148,6 +148,11 @@ zvbi_dep = dependency('zvbi-0.2', version: '>= 0.2.28', required: false)
# rsvg, used by SVG codec and text renderer
rsvg_dep = dependency('librsvg-2.0', version: '>= 2.9.0', required: get_option('rsvg'))
# libgcrypt, used by rtp, access, stream_out
libgcrypt_dep = dependency('libgcrypt',
version: '>= 1.6.0',
required: get_option('libgcrypt'))
# Array that holds all enabled VLC module dicts
vlc_modules = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment