webrtc-streamer 0.6.5 → 0.7.0
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/.vscode/c_cpp_properties.json +4 -1
- package/README.md +9 -9
- package/html/libs/adapter.min.js +3480 -1
- package/html/libs/body-pix +18 -0
- package/html/libs/coco-ssd +17 -16
- package/html/libs/deeplab +53 -3
- package/html/libs/posenet +3 -2
- package/html/libs/tf-backend-wasm.js +5796 -0
- package/html/libs/tfjs +17 -2
- package/html/libs/tfjs-backend-wasm-simd.wasm +0 -0
- package/html/libs/tfjs-backend-wasm.wasm +0 -0
- package/html/webrtc-streamer-element.html +9 -5
- package/html/webrtc-streamer-element.js +7 -7
- package/html/webrtcstreamer.js +5 -2
- package/package.json +2 -2
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
"name": "default",
|
|
5
5
|
"includePath": [
|
|
6
6
|
"${workspaceFolder}/**",
|
|
7
|
-
"${workspaceFolder}/../webrtc/src"
|
|
7
|
+
"${workspaceFolder}/../webrtc/src",
|
|
8
|
+
"${workspaceFolder}/../webrtc/src/third_party/abseil-cpp",
|
|
9
|
+
"${workspaceFolder}/../webrtc/src/third_party/jsoncpp/source/include",
|
|
10
|
+
"${workspaceFolder}/../webrtc/src/third_party/jsoncpp/generated"
|
|
8
11
|
],
|
|
9
12
|
"intelliSenseMode": "linux-gcc-x64",
|
|
10
13
|
"compilerPath": "/usr/bin/gcc",
|
package/README.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
[](https://travis-ci.org/mpromonet/webrtc-streamer)
|
|
2
1
|
[](https://circleci.com/gh/mpromonet/webrtc-streamer)
|
|
3
|
-
[](https://ci.appveyor.com/project/mpromonet/webrtc-streamer/build/artifacts)
|
|
4
2
|
[](https://cirrus-ci.com/github/mpromonet/webrtc-streamer)
|
|
5
3
|
[](https://snapcraft.io/webrtc-streamer)
|
|
6
|
-
[](https://github.com/mpromonet/webrtc-streamer/actions)
|
|
7
|
-
[](https://github.com/mpromonet/webrtc-streamer/actions)
|
|
4
|
+
[](https://github.com/mpromonet/webrtc-streamer/actions/workflows/cpp-linux.yml)
|
|
5
|
+
[](https://github.com/mpromonet/webrtc-streamer/actions/workflows/cpp-windows.yml)
|
|
6
|
+
[](https://github.com/mpromonet/webrtc-streamer/actions/workflows/cpp-macos.yml)
|
|
8
7
|
|
|
9
8
|
[](https://www.codacy.com/app/michelpromonet_2643/webrtc-streamer?utm_source=github.com&utm_medium=referral&utm_content=mpromonet/webrtc-streamer&utm_campaign=badger)
|
|
10
9
|
|
|
@@ -34,12 +33,13 @@ The WebRTC signaling is implemented through HTTP requests:
|
|
|
34
33
|
|
|
35
34
|
The list of HTTP API is available using /api/help.
|
|
36
35
|
|
|
37
|
-
Nowdays there is builds on [CircleCI](https://circleci.com/gh/mpromonet/webrtc-streamer), [
|
|
36
|
+
Nowdays there is builds on [CircleCI](https://circleci.com/gh/mpromonet/webrtc-streamer), [CirrusCI](https://cirrus-ci.com/github/mpromonet/webrtc-streamer) and [GitHub CI](https://github.com/mpromonet/webrtc-streamer/actions) :
|
|
38
37
|
* for x86_64 on Ubuntu Bionic
|
|
39
38
|
* for armv7 crosscompiled (this build is running on Raspberry Pi2 and NanoPi NEO)
|
|
40
39
|
* for armv6+vfp crosscompiled (this build is running on Raspberry PiB and should run on a Raspberry Zero)
|
|
41
40
|
* for arm64 crosscompiled
|
|
42
41
|
* Windows x64 build with clang
|
|
42
|
+
* MacOS
|
|
43
43
|
|
|
44
44
|
The webrtc stream name could be :
|
|
45
45
|
* an alias defined using -n argument then the corresponding -u argument will be used to create the capturer
|
|
@@ -87,10 +87,10 @@ Usage
|
|
|
87
87
|
./webrtc-streamer [-H http port] [-S[embeded stun address]] -[v[v]] [url1]...[urln]
|
|
88
88
|
./webrtc-streamer [-H http port] [-s[external stun address]] -[v[v]] [url1]...[urln]
|
|
89
89
|
./webrtc-streamer -V
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
-v[v[v]] : verbosity
|
|
91
|
+
-V : print version
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
-H [hostname:]port : HTTP server binding (default 0.0.0.0:8000)
|
|
94
94
|
-w webroot : path to get files
|
|
95
95
|
-c sslkeycert : path to private key and certificate for HTTPS
|
|
96
96
|
-N nbthreads : number of threads for HTTP server
|
|
@@ -166,7 +166,7 @@ A short sample HTML page using webrtc-streamer running locally on port 8000 :
|
|
|
166
166
|
var webRtcServer = null;
|
|
167
167
|
window.onload = function() {
|
|
168
168
|
webRtcServer = new WebRtcStreamer("video",location.protocol+"//"+window.location.hostname+":8000");
|
|
169
|
-
|
|
169
|
+
webRtcServer.connect("rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov");
|
|
170
170
|
}
|
|
171
171
|
window.onbeforeunload = function() { webRtcServer.disconnect(); }
|
|
172
172
|
</script>
|