Current section
Files
Jump to
Current section
Files
ex_libsrtp
bundlex.exs
bundlex.exs
defmodule Membrane.ExLibSRTP.BundlexProject do
use Bundlex.Project
def project do
[
natives: natives()
]
end
defp natives() do
[
srtp: [
interface: :nif,
sources: [
"srtp.c",
"srtp_util.c",
"unifex_util.c"
],
os_deps: [
libsrtp2: [
{:precompiled,
Membrane.PrecompiledDependencyProvider.get_dependency_url(:srtp, version: "2.7.0")},
:pkg_config
]
],
preprocessor: Unifex
]
]
end
end