sip-connector 14.1.0-alpha.4 → 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.
@@ -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 +1,2 @@
1
1
  export { hasCanceledStartPresentationError, default as PresentationManager, } from './@PresentationManager';
2
+ export type { TContentHint } from './types';
@@ -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 { TContentHint, TSimulcastEncoding } from '../types';
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
@@ -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 '../types';
1
+ import { TContentHint } from '../PresentationManager';
2
2
  declare const prepareMediaStream: (mediaStream?: MediaStream, { directionVideo, directionAudio, contentHint, }?: {
3
3
  directionVideo?: RTCRtpTransceiverDirection;
4
4
  directionAudio?: RTCRtpTransceiverDirection;
@@ -1,3 +1,3 @@
1
- import { TContentHint } from '../types';
1
+ import { TContentHint } from '../PresentationManager';
2
2
  declare const setVideoTrackContentHints: (stream: MediaStream, contentHint: TContentHint) => void;
3
3
  export default setVideoTrackContentHints;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-connector",
3
- "version": "14.1.0-alpha.4",
3
+ "version": "14.1.0-alpha.5",
4
4
  "description": "Module for connect to Vinteo server",
5
5
  "keywords": [
6
6
  "webrtc",