webrtc-streamer 0.8.5 → 0.8.6

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/README.md CHANGED
@@ -324,15 +324,15 @@ A short sample to publish WebRTC streams to a Jitsi Video Room could be:
324
324
 
325
325
  [Live Demo](https://webrtc-streamer-mpromonet.cloud.okteto.net/xmppvideoroom.html)
326
326
 
327
- ## Build
328
-
329
- ### Dependencies
327
+ ## Dependencies
330
328
 
331
329
  This package depends on the following packages:
332
330
 
333
- - [WebRTC Native Code Package](http://www.webrtc.org) for WebRTC
334
- - [civetweb HTTP server](https://github.com/civetweb/civetweb) for HTTP server
335
- - [live555](http://www.live555.com/liveMedia) for RTSP/MKV source
331
+ - [WebRTC Native Code Package](http://www.webrtc.org) for WebRTC (see license https://webrtc.github.io/webrtc-org/license)
332
+ - [civetweb HTTP server](https://github.com/civetweb/civetweb) for HTTP server (see license https://github.com/civetweb/civetweb/blob/master/LICENSE.md)
333
+ - [live555](http://www.live555.com/liveMedia) for RTSP/MKV source (see license http://www.live555.com/liveMedia/faq.html#copyright-and-license)
334
+
335
+ ## Build
336
336
 
337
337
  The following steps are required to build the project, and will install the
338
338
  dependencies above:
package/UNLICENSE CHANGED
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
21
  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
22
  OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
- For more information, please refer to <http://unlicense.org>
24
+ For more information, please refer to <https://unlicense.org>
@@ -102,10 +102,12 @@ class WebRTCStreamerElement extends HTMLElement {
102
102
  Promise.all([imgLoaded, modelLoaded]).then(([event,model]) => {
103
103
  this.setVideoSize(this.videoElement.videoWidth, this.videoElement.videoHeight)
104
104
 
105
- model.run = this.getModelRunFunction(algo);
106
- if (model.run) {
107
- model.run(model, this.videoElement, this.canvasElement)
108
- modelLoaded.model = model;
105
+ if (model) {
106
+ model.run = this.getModelRunFunction(algo);
107
+ if (model.run) {
108
+ model.run(model, this.videoElement, this.canvasElement)
109
+ modelLoaded.model = model;
110
+ }
109
111
  }
110
112
  });
111
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webrtc-streamer",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "",
5
5
  "main": "joinjanusvideoroom.js",
6
6
  "dependencies": {