openvidu-browser
Advanced tools
Comparing version 2.16.2 to 2.17.0-beta1
@@ -271,4 +271,4 @@ "use strict"; | ||
platform.isFirefoxBrowser() || platform.isFirefoxMobileBrowser() || platform.isOperaBrowser() || | ||
platform.isOperaMobileBrowser() || platform.isSafariBrowser() || platform.isEdgeBrowser() || | ||
platform.isAndroidBrowser() || platform.isElectron() || platform.isSamsungBrowser()) { | ||
platform.isOperaMobileBrowser() || platform.isEdgeBrowser() || platform.isEdgeMobileBrowser() || | ||
platform.isSafariBrowser() || platform.isAndroidBrowser() || platform.isElectron() || platform.isSamsungBrowser()) { | ||
return 1; | ||
@@ -646,3 +646,3 @@ } | ||
ws: { | ||
uri: this.wsUri, | ||
uri: this.wsUri + '?sessionId=' + this.session.sessionId, | ||
onconnected: onConnectSucces, | ||
@@ -649,0 +649,0 @@ ondisconnect: this.disconnectCallback.bind(this), |
@@ -105,2 +105,10 @@ import { Connection } from './Connection'; | ||
*/ | ||
private videoDataInterval; | ||
/** | ||
* @hidden | ||
*/ | ||
private videoDataTimeout; | ||
/** | ||
* @hidden | ||
*/ | ||
constructor(openvidu: OpenVidu); | ||
@@ -344,2 +352,3 @@ connect(token: string): Promise<any>; | ||
private stopPublisherStream; | ||
private stopVideoDataIntervals; | ||
private stringClientMetadata; | ||
@@ -346,0 +355,0 @@ protected getConnection(connectionId: string, errorMessage: string): Promise<Connection>; |
var RpcBuilder = require('../'); | ||
var WebSocketWithReconnection = require('./transports/webSocketWithReconnection'); | ||
var OpenViduLogger = require('../../../Logger/OpenViduLogger').OpenViduLogger; | ||
Date.now = Date.now || function () { | ||
@@ -10,3 +11,3 @@ return +new Date; | ||
var DISCONNECTED = 'DISCONNECTED'; | ||
var Logger = console; | ||
var Logger = OpenViduLogger.getInstance(); | ||
function JsonRpcClient(configuration) { | ||
@@ -13,0 +14,0 @@ var self = this; |
@@ -157,3 +157,3 @@ window.getScreenId = function (firefoxString, callback, custom_parameter) { | ||
} | ||
exports.getScreenId = getScreenId; | ||
exports.getScreenId = window.getScreenId; | ||
//# sourceMappingURL=Screen-Capturing-Auto.js.map |
@@ -37,2 +37,6 @@ export declare class PlatformUtils { | ||
*/ | ||
isEdgeMobileBrowser(): boolean; | ||
/** | ||
* @hidden | ||
*/ | ||
isAndroidBrowser(): boolean; | ||
@@ -39,0 +43,0 @@ /** |
@@ -63,2 +63,10 @@ "use strict"; | ||
*/ | ||
PlatformUtils.prototype.isEdgeMobileBrowser = function () { | ||
var _a; | ||
var version = (platform === null || platform === void 0 ? void 0 : platform.version) ? parseFloat(platform.version) : -1; | ||
return platform.name === "Microsoft Edge" && ((_a = platform.os) === null || _a === void 0 ? void 0 : _a.family) === 'Android' && version > 45; | ||
}; | ||
/** | ||
* @hidden | ||
*/ | ||
PlatformUtils.prototype.isAndroidBrowser = function () { | ||
@@ -65,0 +73,0 @@ return platform.name === "Android Browser"; |
@@ -38,4 +38,4 @@ { | ||
"scripts": { | ||
"browserify": "VERSION=${VERSION:-dev}; cd src && ../node_modules/browserify/bin/cmd.js Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../static/js/openvidu-browser-$VERSION.js -v", | ||
"browserify-prod": "VERSION=${VERSION:-dev}; cd src && ../node_modules/browserify/bin/cmd.js --debug Main.ts -p [ tsify ] --exclude kurento-browser-extensions | ../node_modules/terser/bin/terser --source-map content=inline --output ../static/js/openvidu-browser-$VERSION.min.js", | ||
"browserify": "VERSION=${VERSION:-dev}; mkdir -p static/js/ && cd src && ../node_modules/browserify/bin/cmd.js Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../static/js/openvidu-browser-$VERSION.js -v", | ||
"browserify-prod": "VERSION=${VERSION:-dev}; mkdir -p static/js/ && cd src && ../node_modules/browserify/bin/cmd.js --debug Main.ts -p [ tsify ] --exclude kurento-browser-extensions | ../node_modules/terser/bin/terser --source-map content=inline --output ../static/js/openvidu-browser-$VERSION.min.js", | ||
"build": "cd src/OpenVidu && ./../../node_modules/typescript/bin/tsc && cd ../.. && ./node_modules/typescript/bin/tsc --declaration src/index.ts --outDir ./lib --sourceMap --lib dom,es5,es2015.promise,scripthost", | ||
@@ -45,3 +45,3 @@ "docs": "./generate-docs.sh" | ||
"types": "lib/index.d.ts", | ||
"version": "2.16.2" | ||
"version": "2.17.0-beta1" | ||
} |
@@ -350,4 +350,4 @@ /* | ||
platform.isFirefoxBrowser() || platform.isFirefoxMobileBrowser() || platform.isOperaBrowser() || | ||
platform.isOperaMobileBrowser() || platform.isSafariBrowser() || platform.isEdgeBrowser() || | ||
platform.isAndroidBrowser() || platform.isElectron() || platform.isSamsungBrowser() | ||
platform.isOperaMobileBrowser() || platform.isEdgeBrowser() || platform.isEdgeMobileBrowser() || | ||
platform.isSafariBrowser() || platform.isAndroidBrowser() || platform.isElectron() || platform.isSamsungBrowser() | ||
) { | ||
@@ -747,3 +747,3 @@ return 1; | ||
ws: { | ||
uri: this.wsUri, | ||
uri: this.wsUri + '?sessionId=' + this.session.sessionId, | ||
onconnected: onConnectSucces, | ||
@@ -750,0 +750,0 @@ ondisconnect: this.disconnectCallback.bind(this), |
@@ -20,2 +20,3 @@ /* | ||
var WebSocketWithReconnection = require('./transports/webSocketWithReconnection'); | ||
var OpenViduLogger = require('../../../Logger/OpenViduLogger').OpenViduLogger; | ||
@@ -32,3 +33,3 @@ Date.now = Date.now || function () { | ||
var Logger = console; | ||
var Logger = OpenViduLogger.getInstance(); | ||
@@ -35,0 +36,0 @@ /** |
@@ -16,3 +16,3 @@ // Last time updated on June 08, 2018 | ||
// sourceId == null || 'string' || 'firefox' | ||
if(microsoftEdge) { | ||
@@ -221,2 +221,2 @@ navigator.getDisplayMedia(screen_constraints).then(onSuccess, onFailure); | ||
exports.getScreenId = getScreenId; | ||
exports.getScreenId = window.getScreenId; |
@@ -71,2 +71,10 @@ import platform = require("platform"); | ||
*/ | ||
public isEdgeMobileBrowser(): boolean { | ||
const version = platform?.version ? parseFloat(platform.version) : -1; | ||
return platform.name === "Microsoft Edge" && platform.os?.family === 'Android' && version > 45; | ||
} | ||
/** | ||
* @hidden | ||
*/ | ||
public isAndroidBrowser(): boolean { | ||
@@ -73,0 +81,0 @@ return platform.name === "Android Browser"; |
Sorry, the diff of this file is not supported yet
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
20693
0
1162679
226
2