@signalwire/js
Advanced tools
Comparing version 1.3.0-alpha.9.17 to 1.3.0-alpha.9.18
@@ -33,2 +33,5 @@ import BaseSession from './BaseSession'; | ||
validateDeviceId(id: string, label: string, kind: MediaDeviceInfo['kind']): Promise<string>; | ||
validateVideoDevice(id: string, label: string): Promise<string>; | ||
validateAudioInDevice(id: string, label: string): Promise<string>; | ||
validateAudioOutDevice(id: string, label: string): Promise<string>; | ||
getDeviceResolutions(deviceId: string): Promise<any[]>; | ||
@@ -35,0 +38,0 @@ get mediaConstraints(): { |
@@ -137,2 +137,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
validateVideoDevice(id, label) { | ||
return assureDeviceId(id, label, 'videoinput'); | ||
} | ||
validateAudioInDevice(id, label) { | ||
return assureDeviceId(id, label, 'audioinput'); | ||
} | ||
validateAudioOutDevice(id, label) { | ||
return assureDeviceId(id, label, 'audiooutput'); | ||
} | ||
getDeviceResolutions(deviceId) { | ||
@@ -139,0 +148,0 @@ return scanResolutions(deviceId); |
@@ -97,4 +97,2 @@ import BrowserSession from '../BrowserSession'; | ||
googleStartBitrate?: number; | ||
negotiateAudio?: boolean; | ||
negotiateVideo?: boolean; | ||
sfu?: boolean; | ||
@@ -101,0 +99,0 @@ simulcast?: boolean; |
@@ -102,3 +102,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
} | ||
const _a = this.options, { secondSource, experimental, requestTimeout } = _a, rest = __rest(_a, ["secondSource", "experimental", "requestTimeout"]); | ||
const _a = this.options, { secondSource, experimental, requestTimeout, negotiateAudio, negotiateVideo } = _a, rest = __rest(_a, ["secondSource", "experimental", "requestTimeout", "negotiateAudio", "negotiateVideo"]); | ||
return { sessid: this.session.sessionid, dialogParams: rest }; | ||
@@ -105,0 +105,0 @@ } |
import Relay from './src/SignalWire'; | ||
import Verto from './src/Verto'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export declare const VERSION = "1.3.0-alpha.9.17"; | ||
export declare const VERSION = "1.3.0-alpha.9.18"; | ||
export { Relay, Verto, CantinaAuth }; | ||
export * from '../common/src/util/interfaces'; | ||
export * from '../common/src/webrtc/interfaces'; |
@@ -5,4 +5,4 @@ import Relay from './src/SignalWire'; | ||
import CantinaAuth from '../common/src/webrtc/CantinaAuth'; | ||
export const VERSION = '1.3.0-alpha.9.17'; | ||
export const VERSION = '1.3.0-alpha.9.18'; | ||
setAgentName(`JavaScript SDK/${VERSION}`); | ||
export { Relay, Verto, CantinaAuth }; |
{ | ||
"name": "@signalwire/js", | ||
"version": "1.3.0-alpha.9.17", | ||
"version": "1.3.0-alpha.9.18", | ||
"description": "Relay SDK for JavaScript to connect to SignalWire.", | ||
@@ -5,0 +5,0 @@ "author": "SignalWire Team <open.source@signalwire.com>", |
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
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
349823
5026