sip-connector 14.1.0-alpha.3 → 14.1.0-alpha.5
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.
- package/dist/CallManager/index.d.ts +1 -0
- package/dist/CallManager/types.d.ts +1 -1
- package/dist/PresentationManager/index.d.ts +1 -0
- package/dist/SipConnectorFacade/SipConnectorFacade.d.ts +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/tools/error/getLinkError.d.ts +1 -1
- package/dist/tools/error/getTypeFromError.d.ts +1 -1
- package/dist/tools/error/getValuesFromError.d.ts +1 -1
- package/dist/tools/prepareMediaStream.d.ts +1 -1
- package/dist/tools/setVideoTrackContentHints.d.ts +1 -1
- package/dist/types.d.ts +0 -11
- package/package.json +1 -1
|
@@ -4,3 +4,4 @@ export { EEvent as ECallEvent, Originator } from './eventNames';
|
|
|
4
4
|
export type { TEvent as TCallEvent, TEvents as TCallEvents } from './eventNames';
|
|
5
5
|
export { default as hasCanceledCallError } from './hasCanceledCallError';
|
|
6
6
|
export { MCUCallStrategy } from './MCUCallStrategy';
|
|
7
|
+
export type { TCustomError } from './types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RTCSession, UA } from '@krivega/jssip';
|
|
2
|
+
import { TContentHint } from '../PresentationManager';
|
|
2
3
|
import { Originator } from './eventNames';
|
|
3
4
|
export type TOntrack = (track: RTCTrackEvent) => void;
|
|
4
5
|
export type TOnAddedTransceiver = (transceiver: RTCRtpTransceiver, track: MediaStreamTrack, stream: MediaStream) => Promise<void>;
|
|
5
|
-
export type TContentHint = 'motion' | 'detail' | 'text' | 'none';
|
|
6
6
|
export type TGetServerUrl = (id: string) => string;
|
|
7
7
|
type TOptionsExtraHeaders = {
|
|
8
8
|
extraHeaders?: string[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { UA } from '@krivega/jssip';
|
|
2
2
|
import { EUseLicense } from '../ApiManager';
|
|
3
|
+
import { TContentHint } from '../PresentationManager';
|
|
3
4
|
import { SipConnector } from '../SipConnector';
|
|
4
|
-
import {
|
|
5
|
+
import { TSimulcastEncoding } from '../types';
|
|
5
6
|
interface IProxyMethods {
|
|
6
7
|
on: SipConnector['on'];
|
|
7
8
|
once: SipConnector['once'];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export { EUseLicense } from './ApiManager';
|
|
2
2
|
export { ECallCause, hasCanceledCallError } from './CallManager';
|
|
3
|
+
export type { TCustomError } from './CallManager';
|
|
3
4
|
export { debug, disableDebug, enableDebug } from './logger';
|
|
4
5
|
export { hasCanceledStartPresentationError } from './PresentationManager';
|
|
6
|
+
export type { TContentHint } from './PresentationManager';
|
|
5
7
|
export { default as setParametersToSender } from './setParametersToSender';
|
|
6
8
|
export { SipConnector } from './SipConnector';
|
|
7
9
|
export { SipConnectorFacade } from './SipConnectorFacade';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TContentHint } from '../
|
|
1
|
+
import { TContentHint } from '../PresentationManager';
|
|
2
2
|
declare const prepareMediaStream: (mediaStream?: MediaStream, { directionVideo, directionAudio, contentHint, }?: {
|
|
3
3
|
directionVideo?: RTCRtpTransceiverDirection;
|
|
4
4
|
directionAudio?: RTCRtpTransceiverDirection;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
import { UA, WebSocketInterface } from '@krivega/jssip';
|
|
2
|
-
import { Originator } from './CallManager';
|
|
3
|
-
export type TCustomError = Error & {
|
|
4
|
-
originator?: Originator;
|
|
5
|
-
cause?: unknown;
|
|
6
|
-
message: unknown;
|
|
7
|
-
_ws?: unknown;
|
|
8
|
-
socket?: unknown;
|
|
9
|
-
url?: string;
|
|
10
|
-
code?: string;
|
|
11
|
-
};
|
|
12
2
|
export type TJsSIP = {
|
|
13
3
|
UA: typeof UA;
|
|
14
4
|
WebSocketInterface: typeof WebSocketInterface;
|
|
15
5
|
};
|
|
16
6
|
export type TGetServerUrl = (id: string) => string;
|
|
17
|
-
export type TContentHint = 'motion' | 'detail' | 'text' | 'none';
|
|
18
7
|
export type TRtpSendParameters = Partial<Omit<RTCRtpSendParameters, 'transactionId'>>;
|
|
19
8
|
export type TSize = {
|
|
20
9
|
width: number;
|