sip-connector 14.1.0-alpha.4 → 14.1.0-alpha.6
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/types.d.ts +1 -1
- package/dist/PresentationManager/index.d.ts +1 -0
- package/dist/SipConnectorFacade/SipConnectorFacade.d.ts +3 -2
- package/dist/index.d.ts +1 -0
- package/dist/tools/prepareMediaStream.d.ts +1 -1
- package/dist/tools/setVideoTrackContentHints.d.ts +1 -1
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
|
@@ -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'];
|
|
@@ -131,7 +132,7 @@ declare class SipConnectorFacade implements IProxyMethods {
|
|
|
131
132
|
sendEncodings?: RTCRtpEncodingParameters[];
|
|
132
133
|
preferredMimeTypesVideoCodecs?: string[];
|
|
133
134
|
excludeMimeTypesVideoCodecs?: string[];
|
|
134
|
-
callLimit
|
|
135
|
+
callLimit?: number;
|
|
135
136
|
}) => Promise<MediaStream | undefined>;
|
|
136
137
|
stopShareSipConnector: ({ isP2P }?: {
|
|
137
138
|
isP2P?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { ECallCause, hasCanceledCallError } from './CallManager';
|
|
|
3
3
|
export type { TCustomError } from './CallManager';
|
|
4
4
|
export { debug, disableDebug, enableDebug } from './logger';
|
|
5
5
|
export { hasCanceledStartPresentationError } from './PresentationManager';
|
|
6
|
+
export type { TContentHint } from './PresentationManager';
|
|
6
7
|
export { default as setParametersToSender } from './setParametersToSender';
|
|
7
8
|
export { SipConnector } from './SipConnector';
|
|
8
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
|
@@ -4,7 +4,6 @@ export type TJsSIP = {
|
|
|
4
4
|
WebSocketInterface: typeof WebSocketInterface;
|
|
5
5
|
};
|
|
6
6
|
export type TGetServerUrl = (id: string) => string;
|
|
7
|
-
export type TContentHint = 'motion' | 'detail' | 'text' | 'none';
|
|
8
7
|
export type TRtpSendParameters = Partial<Omit<RTCRtpSendParameters, 'transactionId'>>;
|
|
9
8
|
export type TSize = {
|
|
10
9
|
width: number;
|