diff mbox series

[FFmpeg-devel,v2,3/6] configure: add libdatachannel as external library

Message ID 8fdd0a0c-7c55-438b-83b1-22215cf9d047@nativewaves.com
State New
Headers show
Series WebRTC sub-second live streaming support | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Michael Riedl Nov. 7, 2023, 2:12 p.m. UTC
Signed-off-by: Michael Riedl <michael.riedl@nativewaves.com>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configure b/configure
index 8ab658f7303..187f16b425d 100755
--- a/configure
+++ b/configure
@@ -223,6 +223,7 @@  External library support:
   --enable-libcelt         enable CELT decoding via libcelt [no]
   --enable-libcdio         enable audio CD grabbing with libcdio [no]
   --enable-libcodec2       enable codec2 en/decoding using libcodec2 [no]
+  --enable-libdatachannel  enable WHIP muxing via libdatachannel [no]
   --enable-libdav1d        enable AV1 decoding via libdav1d [no]
   --enable-libdavs2        enable AVS2 decoding via libdavs2 [no]
   --enable-libdc1394       enable IIDC-1394 grabbing using libdc1394
@@ -1849,6 +1850,7 @@  EXTERNAL_LIBRARY_LIST="
     libcaca
     libcelt
     libcodec2
+    libdatachannel
     libdav1d
     libdc1394
     libdrm
@@ -6708,6 +6710,7 @@  enabled libcelt           && require libcelt celt/celt.h celt_decode -lcelt0 &&
 enabled libcaca           && require_pkg_config libcaca caca caca.h caca_create_canvas
 enabled libcodec2         && require libcodec2 codec2/codec2.h codec2_create -lcodec2
 enabled libdav1d          && require_pkg_config libdav1d "dav1d >= 0.5.0" "dav1d/dav1d.h" dav1d_version
+enabled libdatachannel    && require libdatachannel rtc/rtc.h rtcPreload -ldatachannel
 enabled libdavs2          && require_pkg_config libdavs2 "davs2 >= 1.6.0" davs2.h davs2_decoder_open
 enabled libdc1394         && require_pkg_config libdc1394 libdc1394-2 dc1394/dc1394.h dc1394_new
 enabled libdrm            && require_pkg_config libdrm libdrm xf86drm.h drmGetVersion