signalcloud
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "signalcloud", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "SignalCloud JS client", | ||
@@ -20,5 +20,7 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.4", | ||
"eslint": "~4.18.2", | ||
"mime": "^2.4.2", | ||
"rollup": "^1.9.0", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-commonjs": "^9.3.4", | ||
@@ -25,0 +27,0 @@ "rollup-plugin-json": "^4.0.0", |
@@ -0,0 +0,0 @@ import multiEntry from "rollup-plugin-multi-entry"; |
@@ -0,0 +0,0 @@ (function (global, factory) { |
@@ -0,0 +0,0 @@ import * as Sentry from '@sentry/browser'; |
@@ -218,3 +218,2 @@ import { Base } from './base'; | ||
if(typeof session === 'undefined') { | ||
console.log('Error find session on EndpointConnect') | ||
return this.catch_(new Error(`No session found for '${signal.head.src}' on finish`)) | ||
@@ -221,0 +220,0 @@ } |
@@ -0,0 +0,0 @@ class FunctionFifo{ |
@@ -46,4 +46,4 @@ import { Base } from './base'; | ||
.then(() => { | ||
//return this.mediaStream.getTracks().forEach(track => { if(track.remote) this.pc.addTrack(track, stream) } ); | ||
return (mediaStream?null:this.pc.addStream(this.mediaStream)); | ||
return mediaStream?null:this.mediaStream.getTracks().forEach(track => { this.pc.addTrack(track, stream) } ); | ||
//return (mediaStream?null:this.pc.addStream(this.mediaStream)); | ||
}) | ||
@@ -50,0 +50,0 @@ .then(() => { |
@@ -0,0 +0,0 @@ import { Base } from './base'; |
@@ -26,3 +26,3 @@ | ||
this.onclose_ = () => { this.trigger_(TransportEvents.Close) }; | ||
this.onmessage_ = (eventData) => { console.log('=Receive=',JSON.parse(eventData.data)); this.trigger_(TransportEvents.Message, eventData) }; | ||
this.onmessage_ = (eventData) => { this.trigger_(TransportEvents.Message, eventData) }; | ||
this.onerror_ = (eventData) => { this.trigger_(TransportEvents.Error, eventData) }; | ||
@@ -41,3 +41,2 @@ } | ||
send(val) { | ||
console.log('=Send=',val.data.head.type); | ||
this.socket.send(JSON.stringify(val)); | ||
@@ -44,0 +43,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
302801
9