-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow callers to provide their own Agora SDK and add noop compilation…
… for non-linux machines (#16) * Update unifex * Allow caller to specify they don't want the sdk installed * Noop sink/source nif compiling * Add a comment about noop.cpp * Change flag to AGORA_SDK_PRESENT * Bump version * Remove content of noop.cpp as it is no longer needed. Make usage of Unifex.Loader conditional. Bump version in README --------- Co-authored-by: Łukasz Kita <lukasz.kita0@gmail.com>
- Loading branch information
1 parent
62e6bfc
commit fad0613
Showing
7 changed files
with
45 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
defmodule Membrane.Agora.Sink.Native do | ||
@moduledoc false | ||
|
||
use Unifex.Loader | ||
if Bundlex.get_target() == %{os: "linux", architecture: "x86_64"} do | ||
use Unifex.Loader | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
defmodule Membrane.Agora.Source.Native do | ||
@moduledoc false | ||
|
||
use Unifex.Loader | ||
if Bundlex.get_target() == %{os: "linux", architecture: "x86_64"} do | ||
use Unifex.Loader | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters