sip-connector 30.0.0 → 30.0.1

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.
@@ -10,7 +10,7 @@ import { TPresentationManagerEventMap } from '../PresentationManager';
10
10
  import { TSessionManagerEventMap } from '../SessionManager';
11
11
  import { TStatsManagerEventMap } from '../StatsManager';
12
12
  import { TVideoSendingBalancerManagerEventMap } from '../VideoSendingBalancerManager';
13
- export declare const EVENT_NAMES: readonly [...("connection:connecting" | "connection:connected" | "connection:registered" | "connection:disconnecting" | "connection:disconnected" | "presentation:start" | "presentation:started" | "presentation:end" | "presentation:ended" | "presentation:failed" | "auto-connect:failed-all-attempts" | "auto-connect:stop-attempts-by-error" | "auto-connect:limit-reached-attempts" | "auto-connect:before-attempt" | "auto-connect:success" | "auto-connect:cancelled-attempts" | "auto-connect:changed-attempt-status" | "auto-connect:telephony-check-failure" | "auto-connect:telephony-check-escalated" | "call-reconnect:cancelled" | "call-reconnect:armed" | "call-reconnect:limit-reached" | "call-reconnect:disarmed" | "call-reconnect:failure-detected" | "call-reconnect:attempt-scheduled" | "call-reconnect:attempt-started" | "call-reconnect:attempt-succeeded" | "call-reconnect:attempt-failed" | "call-reconnect:waiting-signaling" | "call-reconnect:status-changed" | "call-reconnect:termination-classified" | "call-reconnect:terminal" | "connection:newRTCSession" | "connection:unregistered" | "connection:registrationFailed" | "connection:newMessage" | "connection:sipEvent" | "connection:connect-started" | "connection:connect-succeeded" | "connection:connect-failed" | "connection:connect-parameters-resolve-success" | "connection:connect-parameters-resolve-failed" | "connection:connected-with-configuration" | "call:ended" | "call:failed" | "call:peerconnection" | "call:connecting" | "call:sending" | "call:progress" | "call:accepted" | "call:confirmed" | "call:newDTMF" | "call:newInfo" | "call:hold" | "call:unhold" | "call:muted" | "call:unmuted" | "call:reinvite" | "call:update" | "call:refer" | "call:replaces" | "call:sdp" | "call:icecandidate" | "call:getusermediafailed" | "call:peerconnection:createofferfailed" | "call:peerconnection:createanswerfailed" | "call:peerconnection:setlocaldescriptionfailed" | "call:peerconnection:setremotedescriptionfailed" | "call:start-call" | "call:end-call" | "call:peerconnection:confirmed" | "call:peerconnection:ontrack" | "call:ended:fromserver" | "call:call-status-changed" | "call:remote-tracks-changed" | "call:remote-streams-changed" | "call:recv-session-started" | "call:recv-session-ended" | "call:recv-quality-changed" | "api:enter-room" | "api:main-cam-control" | "api:use-license" | "api:new-dtmf" | "api:conference:participant-token-issued" | "api:contented-stream:available" | "api:contented-stream:not-available" | "api:presentation:must-stop" | "api:channels:all" | "api:channels:notify" | "api:participant:added-to-list-moderators" | "api:participant:removed-from-list-moderators" | "api:participant:move-request-to-stream" | "api:participant:move-request-to-spectators" | "api:participant:move-request-to-spectators-synthetic" | "api:participant:move-request-to-spectators-with-audio-id" | "api:participant:move-request-to-participants" | "api:participation:accepting-word-request" | "api:participation:cancelling-word-request" | "api:webcast:started" | "api:webcast:stopped" | "api:account:changed" | "api:account:deleted" | "api:admin:start-main-cam" | "api:admin:stop-main-cam" | "api:admin:start-mic" | "api:admin:stop-mic" | "api:admin:force-sync-media-state" | "api:failed-send-room-direct-p2p" | "incoming-call:ringing" | "incoming-call:declinedIncomingCall" | "incoming-call:terminatedIncomingCall" | "incoming-call:failedIncomingCall" | "stats:stopped" | "stats:collected" | "video-balancer:balancing-scheduled" | "video-balancer:balancing-started" | "video-balancer:balancing-stopped" | "video-balancer:parameters-updated" | "main-stream-health:health-snapshot" | "main-stream-health:inbound-video-problem-detected" | "main-stream-health:inbound-video-problem-resolved" | "main-stream-health:inbound-video-problem-reset" | "session:snapshot-changed")[], "disconnected-from-out-of-call", "connected-with-configuration-from-out-of-call", "stopped-presentation-by-server-command"];
13
+ export declare const EVENT_NAMES: readonly [...("connection:connecting" | "connection:connected" | "connection:registered" | "connection:disconnecting" | "connection:disconnected" | "auto-connect:failed-all-attempts" | "auto-connect:stop-attempts-by-error" | "auto-connect:limit-reached-attempts" | "auto-connect:before-attempt" | "auto-connect:success" | "auto-connect:cancelled-attempts" | "auto-connect:changed-attempt-status" | "auto-connect:telephony-check-failure" | "auto-connect:telephony-check-escalated" | "call-reconnect:cancelled" | "call-reconnect:armed" | "call-reconnect:limit-reached" | "call-reconnect:disarmed" | "call-reconnect:failure-detected" | "call-reconnect:attempt-scheduled" | "call-reconnect:attempt-started" | "call-reconnect:attempt-succeeded" | "call-reconnect:attempt-failed" | "call-reconnect:waiting-signaling" | "call-reconnect:status-changed" | "call-reconnect:termination-classified" | "call-reconnect:terminal" | "connection:newRTCSession" | "connection:unregistered" | "connection:registrationFailed" | "connection:newMessage" | "connection:sipEvent" | "connection:connect-started" | "connection:connect-succeeded" | "connection:connect-failed" | "connection:connect-parameters-resolve-success" | "connection:connect-parameters-resolve-failed" | "connection:connected-with-configuration" | "call:ended" | "call:failed" | "call:peerconnection" | "call:connecting" | "call:sending" | "call:progress" | "call:accepted" | "call:confirmed" | "call:newDTMF" | "call:newInfo" | "call:hold" | "call:unhold" | "call:muted" | "call:unmuted" | "call:reinvite" | "call:update" | "call:refer" | "call:replaces" | "call:sdp" | "call:icecandidate" | "call:getusermediafailed" | "call:peerconnection:createofferfailed" | "call:peerconnection:createanswerfailed" | "call:peerconnection:setlocaldescriptionfailed" | "call:peerconnection:setremotedescriptionfailed" | "call:start-call" | "call:end-call" | "call:peerconnection:confirmed" | "call:peerconnection:ontrack" | "call:ended:fromserver" | "call:call-status-changed" | "call:remote-tracks-changed" | "call:remote-streams-changed" | "call:recv-session-started" | "call:recv-session-ended" | "call:recv-quality-changed" | "api:enter-room" | "api:main-cam-control" | "api:use-license" | "api:new-dtmf" | "api:conference:participant-token-issued" | "api:contented-stream:available" | "api:contented-stream:not-available" | "api:presentation:must-stop" | "api:channels:all" | "api:channels:notify" | "api:participant:added-to-list-moderators" | "api:participant:removed-from-list-moderators" | "api:participant:move-request-to-stream" | "api:participant:move-request-to-spectators" | "api:participant:move-request-to-spectators-synthetic" | "api:participant:move-request-to-spectators-with-audio-id" | "api:participant:move-request-to-participants" | "api:participation:accepting-word-request" | "api:participation:cancelling-word-request" | "api:webcast:started" | "api:webcast:stopped" | "api:account:changed" | "api:account:deleted" | "api:admin:start-main-cam" | "api:admin:stop-main-cam" | "api:admin:start-mic" | "api:admin:stop-mic" | "api:admin:force-sync-media-state" | "api:failed-send-room-direct-p2p" | "incoming-call:ringing" | "incoming-call:declinedIncomingCall" | "incoming-call:terminatedIncomingCall" | "incoming-call:failedIncomingCall" | "presentation:start" | "presentation:started" | "presentation:end" | "presentation:ended" | "presentation:failed" | "stats:stopped" | "stats:collected" | "video-balancer:balancing-scheduled" | "video-balancer:balancing-started" | "video-balancer:balancing-stopped" | "video-balancer:parameters-updated" | "main-stream-health:health-snapshot" | "main-stream-health:inbound-video-problem-detected" | "main-stream-health:inbound-video-problem-resolved" | "main-stream-health:inbound-video-problem-reset" | "session:snapshot-changed")[], "disconnected-from-out-of-call", "connected-with-configuration-from-out-of-call", "stopped-presentation-by-server-command"];
14
14
  export type TEventName = (typeof EVENT_NAMES)[number];
15
15
  type PrefixedEventMap<T extends Record<string, unknown>, Prefix extends string> = {
16
16
  [K in keyof T as `${Prefix}:${string & K}`]: T[K];
@@ -22,5 +22,5 @@ type TSipConnectorEventMap = {
22
22
  };
23
23
  export type TEventMap = PrefixedEventMap<TAutoConnectorManagerEventMap, 'auto-connect'> & PrefixedEventMap<TCallReconnectManagerEventMap, 'call-reconnect'> & PrefixedEventMap<TConnectionManagerEventMap, 'connection'> & PrefixedEventMap<TCallManagerEventMap, 'call'> & PrefixedEventMap<TApiManagerEventMap, 'api'> & PrefixedEventMap<TIncomingCallManagerEventMap, 'incoming-call'> & PrefixedEventMap<TPresentationManagerEventMap, 'presentation'> & PrefixedEventMap<TStatsManagerEventMap, 'stats'> & PrefixedEventMap<TVideoSendingBalancerManagerEventMap, 'video-balancer'> & PrefixedEventMap<TMainStreamHealthMonitorEventMap, 'main-stream-health'> & PrefixedEventMap<TSessionManagerEventMap, 'session'> & TSipConnectorEventMap;
24
24
  export type TEvents = TypedEvents<TEventMap>;
25
- export declare const createEvents: () => TypedEvents<TEventMap, readonly ("connection:connecting" | "connection:connected" | "connection:registered" | "connection:disconnecting" | "connection:disconnected" | "presentation:start" | "presentation:started" | "presentation:end" | "presentation:ended" | "presentation:failed" | "auto-connect:failed-all-attempts" | "auto-connect:stop-attempts-by-error" | "auto-connect:limit-reached-attempts" | "auto-connect:before-attempt" | "auto-connect:success" | "auto-connect:cancelled-attempts" | "auto-connect:changed-attempt-status" | "auto-connect:telephony-check-failure" | "auto-connect:telephony-check-escalated" | "call-reconnect:cancelled" | "call-reconnect:armed" | "call-reconnect:limit-reached" | "call-reconnect:disarmed" | "call-reconnect:failure-detected" | "call-reconnect:attempt-scheduled" | "call-reconnect:attempt-started" | "call-reconnect:attempt-succeeded" | "call-reconnect:attempt-failed" | "call-reconnect:waiting-signaling" | "call-reconnect:status-changed" | "call-reconnect:termination-classified" | "call-reconnect:terminal" | "connection:newRTCSession" | "connection:unregistered" | "connection:registrationFailed" | "connection:newMessage" | "connection:sipEvent" | "connection:connect-started" | "connection:connect-succeeded" | "connection:connect-failed" | "connection:connect-parameters-resolve-success" | "connection:connect-parameters-resolve-failed" | "connection:connected-with-configuration" | "call:ended" | "call:failed" | "call:peerconnection" | "call:connecting" | "call:sending" | "call:progress" | "call:accepted" | "call:confirmed" | "call:newDTMF" | "call:newInfo" | "call:hold" | "call:unhold" | "call:muted" | "call:unmuted" | "call:reinvite" | "call:update" | "call:refer" | "call:replaces" | "call:sdp" | "call:icecandidate" | "call:getusermediafailed" | "call:peerconnection:createofferfailed" | "call:peerconnection:createanswerfailed" | "call:peerconnection:setlocaldescriptionfailed" | "call:peerconnection:setremotedescriptionfailed" | "call:start-call" | "call:end-call" | "call:peerconnection:confirmed" | "call:peerconnection:ontrack" | "call:ended:fromserver" | "call:call-status-changed" | "call:remote-tracks-changed" | "call:remote-streams-changed" | "call:recv-session-started" | "call:recv-session-ended" | "call:recv-quality-changed" | "api:enter-room" | "api:main-cam-control" | "api:use-license" | "api:new-dtmf" | "api:conference:participant-token-issued" | "api:contented-stream:available" | "api:contented-stream:not-available" | "api:presentation:must-stop" | "api:channels:all" | "api:channels:notify" | "api:participant:added-to-list-moderators" | "api:participant:removed-from-list-moderators" | "api:participant:move-request-to-stream" | "api:participant:move-request-to-spectators" | "api:participant:move-request-to-spectators-synthetic" | "api:participant:move-request-to-spectators-with-audio-id" | "api:participant:move-request-to-participants" | "api:participation:accepting-word-request" | "api:participation:cancelling-word-request" | "api:webcast:started" | "api:webcast:stopped" | "api:account:changed" | "api:account:deleted" | "api:admin:start-main-cam" | "api:admin:stop-main-cam" | "api:admin:start-mic" | "api:admin:stop-mic" | "api:admin:force-sync-media-state" | "api:failed-send-room-direct-p2p" | "incoming-call:ringing" | "incoming-call:declinedIncomingCall" | "incoming-call:terminatedIncomingCall" | "incoming-call:failedIncomingCall" | "stats:stopped" | "stats:collected" | "video-balancer:balancing-scheduled" | "video-balancer:balancing-started" | "video-balancer:balancing-stopped" | "video-balancer:parameters-updated" | "main-stream-health:health-snapshot" | "main-stream-health:inbound-video-problem-detected" | "main-stream-health:inbound-video-problem-resolved" | "main-stream-health:inbound-video-problem-reset" | "session:snapshot-changed" | keyof TSipConnectorEventMap)[]>;
25
+ export declare const createEvents: () => TypedEvents<TEventMap, readonly ("connection:connecting" | "connection:connected" | "connection:registered" | "connection:disconnecting" | "connection:disconnected" | "auto-connect:failed-all-attempts" | "auto-connect:stop-attempts-by-error" | "auto-connect:limit-reached-attempts" | "auto-connect:before-attempt" | "auto-connect:success" | "auto-connect:cancelled-attempts" | "auto-connect:changed-attempt-status" | "auto-connect:telephony-check-failure" | "auto-connect:telephony-check-escalated" | "call-reconnect:cancelled" | "call-reconnect:armed" | "call-reconnect:limit-reached" | "call-reconnect:disarmed" | "call-reconnect:failure-detected" | "call-reconnect:attempt-scheduled" | "call-reconnect:attempt-started" | "call-reconnect:attempt-succeeded" | "call-reconnect:attempt-failed" | "call-reconnect:waiting-signaling" | "call-reconnect:status-changed" | "call-reconnect:termination-classified" | "call-reconnect:terminal" | "connection:newRTCSession" | "connection:unregistered" | "connection:registrationFailed" | "connection:newMessage" | "connection:sipEvent" | "connection:connect-started" | "connection:connect-succeeded" | "connection:connect-failed" | "connection:connect-parameters-resolve-success" | "connection:connect-parameters-resolve-failed" | "connection:connected-with-configuration" | "call:ended" | "call:failed" | "call:peerconnection" | "call:connecting" | "call:sending" | "call:progress" | "call:accepted" | "call:confirmed" | "call:newDTMF" | "call:newInfo" | "call:hold" | "call:unhold" | "call:muted" | "call:unmuted" | "call:reinvite" | "call:update" | "call:refer" | "call:replaces" | "call:sdp" | "call:icecandidate" | "call:getusermediafailed" | "call:peerconnection:createofferfailed" | "call:peerconnection:createanswerfailed" | "call:peerconnection:setlocaldescriptionfailed" | "call:peerconnection:setremotedescriptionfailed" | "call:start-call" | "call:end-call" | "call:peerconnection:confirmed" | "call:peerconnection:ontrack" | "call:ended:fromserver" | "call:call-status-changed" | "call:remote-tracks-changed" | "call:remote-streams-changed" | "call:recv-session-started" | "call:recv-session-ended" | "call:recv-quality-changed" | "api:enter-room" | "api:main-cam-control" | "api:use-license" | "api:new-dtmf" | "api:conference:participant-token-issued" | "api:contented-stream:available" | "api:contented-stream:not-available" | "api:presentation:must-stop" | "api:channels:all" | "api:channels:notify" | "api:participant:added-to-list-moderators" | "api:participant:removed-from-list-moderators" | "api:participant:move-request-to-stream" | "api:participant:move-request-to-spectators" | "api:participant:move-request-to-spectators-synthetic" | "api:participant:move-request-to-spectators-with-audio-id" | "api:participant:move-request-to-participants" | "api:participation:accepting-word-request" | "api:participation:cancelling-word-request" | "api:webcast:started" | "api:webcast:stopped" | "api:account:changed" | "api:account:deleted" | "api:admin:start-main-cam" | "api:admin:stop-main-cam" | "api:admin:start-mic" | "api:admin:stop-mic" | "api:admin:force-sync-media-state" | "api:failed-send-room-direct-p2p" | "incoming-call:ringing" | "incoming-call:declinedIncomingCall" | "incoming-call:terminatedIncomingCall" | "incoming-call:failedIncomingCall" | "presentation:start" | "presentation:started" | "presentation:end" | "presentation:ended" | "presentation:failed" | "stats:stopped" | "stats:collected" | "video-balancer:balancing-scheduled" | "video-balancer:balancing-started" | "video-balancer:balancing-stopped" | "video-balancer:parameters-updated" | "main-stream-health:health-snapshot" | "main-stream-health:inbound-video-problem-detected" | "main-stream-health:inbound-video-problem-resolved" | "main-stream-health:inbound-video-problem-reset" | "session:snapshot-changed" | keyof TSipConnectorEventMap)[]>;
26
26
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-connector",
3
- "version": "30.0.0",
3
+ "version": "30.0.1",
4
4
  "description": "Module for connect to Vinteo server",
5
5
  "keywords": [
6
6
  "webrtc",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "dependencies": {
71
71
  "@krivega/cancelable-promise": "^1.1.4",
72
- "@krivega/jssip": "^6.1.2",
72
+ "@krivega/jssip": "^7.0.0",
73
73
  "@krivega/timeout-requester": "^1.0.0",
74
74
  "debug": "^4.4.3",
75
75
  "events-constructor": "^2.3.1",
@@ -116,7 +116,7 @@
116
116
  },
117
117
  "peerDependencies": {
118
118
  "@krivega/cancelable-promise": "^1.1.4",
119
- "@krivega/jssip": "^6.1.2",
119
+ "@krivega/jssip": "^7.0.0",
120
120
  "@krivega/timeout-requester": "^1.0.0",
121
121
  "debug": "^4.4.3",
122
122
  "events-constructor": "^2.3.1",