node-datachannel 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +5 -2
- package/README.md +2 -7
- package/package.json +1 -1
package/CMakeLists.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.15)
|
|
2
2
|
cmake_policy(SET CMP0091 NEW)
|
|
3
|
-
project(node_datachannel VERSION 0.1.
|
|
3
|
+
project(node_datachannel VERSION 0.1.13)
|
|
4
4
|
|
|
5
5
|
include_directories(${CMAKE_JS_INC})
|
|
6
6
|
|
|
@@ -27,9 +27,12 @@ include(FetchContent)
|
|
|
27
27
|
FetchContent_Declare(
|
|
28
28
|
libdatachannel
|
|
29
29
|
GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git
|
|
30
|
-
GIT_TAG "v0.15.
|
|
30
|
+
GIT_TAG "v0.15.6"
|
|
31
31
|
)
|
|
32
32
|
|
|
33
|
+
option(NO_MEDIA "Disable media transport support in libdatachannel" ON)
|
|
34
|
+
option(NO_WEBSOCKET "Disable WebSocket support in libdatachannel" ON)
|
|
35
|
+
|
|
33
36
|
FetchContent_GetProperties(libdatachannel)
|
|
34
37
|
if(NOT libdatachannel)
|
|
35
38
|
FetchContent_Populate(libdatachannel)
|
package/README.md
CHANGED
|
@@ -152,15 +152,10 @@ Prebuilt binaries are available (Node Version >= 10);
|
|
|
152
152
|
> npm i
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
Build with libnice support
|
|
156
|
-
```sh
|
|
157
|
-
> npm run install-nice
|
|
158
|
-
```
|
|
159
|
-
|
|
160
155
|
Other Options
|
|
161
156
|
```sh
|
|
162
|
-
> npm run install -- -DUSE_GNUTLS=1
|
|
163
|
-
> npm run install -- -
|
|
157
|
+
> npm run install -- -DUSE_GNUTLS=1 # Use GnuTLS instead of OpenSSL (Default False)
|
|
158
|
+
> npm run install -- -DUSE_NICE=1 # Use libnice instead of libjuice (Default False)
|
|
164
159
|
```
|
|
165
160
|
|
|
166
161
|
### Test
|