webrtc-streamer 0.7.1 → 0.7.2
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/.devcontainer/devcontainer.json +21 -0
- package/README.md +18 -18
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "C++",
|
|
3
|
+
"build": {
|
|
4
|
+
"dockerfile": "Dockerfile"
|
|
5
|
+
},
|
|
6
|
+
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
|
|
7
|
+
|
|
8
|
+
"customizations": {
|
|
9
|
+
"vscode": {
|
|
10
|
+
"settings": {},
|
|
11
|
+
|
|
12
|
+
"extensions": [
|
|
13
|
+
"ms-vscode.cpptools"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
"postCreateCommand": "bash -c 'sudo chown -R vscode:vscode /workspaces/depot_tools && sudo mkdir -p /workspaces/webrtc && sudo chown -R vscode:vscode /workspaces/webrtc && cd /workspaces/webrtc && fetch --no-history webrtc'",
|
|
19
|
+
"forwardPorts": [8000],
|
|
20
|
+
"remoteUser": "vscode"
|
|
21
|
+
}
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
[](https://github.com/mpromonet/webrtc-streamer/releases/latest)
|
|
15
15
|
[](https://hub.docker.com/r/mpromonet/webrtc-streamer/)
|
|
16
16
|
|
|
17
|
-
[](https://webrtc-streamer-mpromonet.cloud.okteto.net/)
|
|
18
18
|
[](https://gitpod.io/#https://github.com/mpromonet/webrtc-streamer)
|
|
19
19
|
|
|
20
20
|
Experimentation to stream WebRTC media sources like capture devices, screen capture, mkv files and RTSP sources using simple signaling.
|
|
@@ -89,22 +89,22 @@ Options for the WebRTC stream name:
|
|
|
89
89
|
./webrtc-streamer rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
[](https://
|
|
92
|
+
[](https://webrtc-streamer-mpromonet.cloud.okteto.net/)
|
|
93
93
|
|
|
94
|
-
[Live Demo](https://
|
|
94
|
+
[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/)
|
|
95
95
|
|
|
96
96
|
We can access to the WebRTC stream using
|
|
97
97
|
[webrtcstreamer.html](https://github.com/mpromonet/webrtc-streamer-html/blob/master/webrtcstreamer.html).
|
|
98
98
|
For instance:
|
|
99
99
|
|
|
100
|
-
- [webrtcstreamer.html?rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov](https://
|
|
101
|
-
- [webrtcstreamer.html?Bunny](https://
|
|
100
|
+
- [webrtcstreamer.html?rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov](https://webrtc-streamer-mpromonet.cloud.okteto.net/webrtcstreamer.html?rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov)
|
|
101
|
+
- [webrtcstreamer.html?Bunny](https://webrtc-streamer-mpromonet.cloud.okteto.net/webrtcstreamer.html?Bunny)
|
|
102
102
|
|
|
103
103
|
An example displaying grid of WebRTC Streams is available using option
|
|
104
104
|
`layout=<lines>x<columns>`
|
|
105
|
-
[](https://
|
|
105
|
+
[](https://webrtc-streamer-mpromonet.cloud.okteto.net/?layout=2x4)
|
|
106
106
|
|
|
107
|
-
[Live Demo (?layout=2x4)](https://
|
|
107
|
+
[Live Demo (?layout=2x4)](https://webrtc-streamer-mpromonet.cloud.okteto.net/?layout=2x4)
|
|
108
108
|
|
|
109
109
|
## Using docker image
|
|
110
110
|
|
|
@@ -214,25 +214,25 @@ display a WebRTC stream in an HTML page. For example:
|
|
|
214
214
|
</html>
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
[Live Demo](https://
|
|
217
|
+
[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/Bunny.html)
|
|
218
218
|
|
|
219
219
|
Using the webcomponent with a stream selector:
|
|
220
220
|
|
|
221
|
-
[](https://
|
|
221
|
+
[](https://webrtc-streamer-mpromonet.cloud.okteto.net/webrtc-streamer-element.html)
|
|
222
222
|
|
|
223
|
-
[Live Demo](https://
|
|
223
|
+
[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/webrtc-streamer-element.html)
|
|
224
224
|
|
|
225
225
|
Using the webcomponent over google map:
|
|
226
226
|
|
|
227
|
-
[](https://
|
|
227
|
+
[](https://webrtc-streamer-mpromonet.cloud.okteto.net/map.html)
|
|
228
228
|
|
|
229
|
-
[Live Demo](https://
|
|
229
|
+
[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/map.html)
|
|
230
230
|
|
|
231
231
|
## Object detection using tensorflow.js
|
|
232
232
|
|
|
233
|
-
[](https://
|
|
233
|
+
[](https://webrtc-streamer-mpromonet.cloud.okteto.net/tensorflow.html)
|
|
234
234
|
|
|
235
|
-
[Live Demo](https://
|
|
235
|
+
[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/tensorflow.html)
|
|
236
236
|
|
|
237
237
|
## Connect to Janus Gateway Video Room
|
|
238
238
|
|
|
@@ -260,13 +260,13 @@ A short sample to publish WebRTC streams to Janus Video Room could be:
|
|
|
260
260
|
</html>
|
|
261
261
|
```
|
|
262
262
|
|
|
263
|
-
[](https://
|
|
263
|
+
[](https://webrtc-streamer-mpromonet.cloud.okteto.net/janusvideoroom.html)
|
|
264
264
|
|
|
265
|
-
[Live Demo](https://
|
|
265
|
+
[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/janusvideoroom.html)
|
|
266
266
|
|
|
267
267
|
This way the communication between
|
|
268
268
|
[Janus API](https://janus.conf.meetecho.com/docs/JS.html) and
|
|
269
|
-
[WebRTC Streamer API](https://
|
|
269
|
+
[WebRTC Streamer API](https://webrtc-streamer-mpromonet.cloud.okteto.net/help)
|
|
270
270
|
is implemented in Javascript running in browser.
|
|
271
271
|
|
|
272
272
|
The same logic could be implemented in NodeJS using the same JS API:
|
|
@@ -311,7 +311,7 @@ A short sample to publish WebRTC streams to a Jitsi Video Room could be:
|
|
|
311
311
|
</html>
|
|
312
312
|
```
|
|
313
313
|
|
|
314
|
-
[Live Demo](https://
|
|
314
|
+
[Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/xmppvideoroom.html)
|
|
315
315
|
|
|
316
316
|
## Build
|
|
317
317
|
|