@signalwire/js
Advanced tools
Comparing version 1.3.0-alpha.7.10 to 1.3.0-alpha.7.11
@@ -33,4 +33,7 @@ import BaseRequest from './verto/BaseRequest'; | ||
declare class JSApi extends BaseRequest { | ||
toString(): string; | ||
toString(): VertoMethod; | ||
} | ||
export { Login, Invite, Answer, Attach, Bye, Modify, Info, Broadcast, Subscribe, Unsubscribe, Result, JSApi, }; | ||
declare class Stats extends BaseRequest { | ||
toString(): VertoMethod; | ||
} | ||
export { Login, Invite, Answer, Attach, Bye, Modify, Info, Broadcast, Subscribe, Unsubscribe, Result, JSApi, Stats, }; |
@@ -52,5 +52,10 @@ import BaseRequest from './verto/BaseRequest'; | ||
toString() { | ||
return 'jsapi'; | ||
return VertoMethod.JsApi; | ||
} | ||
} | ||
export { Login, Invite, Answer, Attach, Bye, Modify, Info, Broadcast, Subscribe, Unsubscribe, Result, JSApi, }; | ||
class Stats extends BaseRequest { | ||
toString() { | ||
return VertoMethod.Stats; | ||
} | ||
} | ||
export { Login, Invite, Answer, Attach, Bye, Modify, Info, Broadcast, Subscribe, Unsubscribe, Result, JSApi, Stats, }; |
@@ -207,4 +207,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
if (this.callId === callId && audio && video) { | ||
const call = this.session.calls[this.callId]; | ||
this._isMuted = audio.muted; | ||
if (call && this._isMuted === true) { | ||
call.stopOutboundAudio(); | ||
} | ||
this._isVmuted = video.muted; | ||
if (call && this._isVmuted === true) { | ||
call.stopOutboundVideo(); | ||
} | ||
} | ||
@@ -211,0 +218,0 @@ participants.push(participant); |
@@ -26,3 +26,5 @@ import { CallOptions } from './interfaces'; | ||
MediaParams = "verto.mediaParams", | ||
Prompt = "verto.prompt" | ||
Prompt = "verto.prompt", | ||
JsApi = "jsapi", | ||
Stats = "verto.stats" | ||
} | ||
@@ -29,0 +31,0 @@ export declare enum Notification { |
@@ -29,2 +29,4 @@ export var PeerType; | ||
VertoMethod["Prompt"] = "verto.prompt"; | ||
VertoMethod["JsApi"] = "jsapi"; | ||
VertoMethod["Stats"] = "verto.stats"; | ||
})(VertoMethod || (VertoMethod = {})); | ||
@@ -31,0 +33,0 @@ export var Notification; |
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.7.10"; | ||
export declare const VERSION = "1.3.0-alpha.7.11"; | ||
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.7.10'; | ||
export const VERSION = '1.3.0-alpha.7.11'; | ||
setAgentName(`JavaScript SDK/${VERSION}`); | ||
export { Relay, Verto, CantinaAuth }; |
{ | ||
"name": "@signalwire/js", | ||
"version": "1.3.0-alpha.7.10", | ||
"version": "1.3.0-alpha.7.11", | ||
"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
313904
4464