Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cmake option to load h264 library with dlopen #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xuzhao9
Copy link

@xuzhao9 xuzhao9 commented Aug 22, 2024

Linux Distributions like openSUSE does not bundle open source H264 encoder/decoder due to licensing issues: https://news.opensuse.org/2023/01/24/opensuse-simplifies-codec-install/. The distribution developers suggested to use the "dlopen" mode to load H264 symbols at runtime, similiar to libfreerdp: https://github.com/FreeRDP/FreeRDP/blob/master/libfreerdp/codec/h264_openh264.c

This PR adds a compile option TG_OWT_DLOPEN_H264 to use dlopen() and load H264 library at runtime instead of at compile time.

@xuzhao9 xuzhao9 force-pushed the xz9/dlopen-h264 branch 4 times, most recently from 0342ae2 to 1da7239 Compare August 22, 2024 05:06
@xuzhao9 xuzhao9 changed the title Add macro to build h264 dlopen mode. Add cmake option to build h264 dlopen mode. Aug 22, 2024
@xuzhao9 xuzhao9 changed the title Add cmake option to build h264 dlopen mode. Add cmake option to load h264 library with dlopen Aug 22, 2024
@ilya-fedin
Copy link
Contributor

This fork only maintains cmake build. Such patches have to be supplied to the upstream located at https://webrtc.googlesource.com/src/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants