@livedigital/client 2.31.0 → 2.32.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.
@@ -25,8 +25,8 @@ declare class PeerTrack {
25
25
  get consumerId(): string | undefined;
26
26
  get currentSpatialLayer(): number;
27
27
  close(): Promise<void>;
28
- pause(): Promise<void>;
29
- resume(): Promise<void>;
28
+ pause(pauseRemote?: boolean): Promise<void>;
29
+ resume(resumeRemote?: boolean): Promise<void>;
30
30
  setPriority(priority: number): Promise<void>;
31
31
  private setConsumerPriority;
32
32
  requestVideoPreferredLayers({ spatialLayer, temporalLayer }: PreferredLayersParams): Promise<void>;
@@ -0,0 +1,5 @@
1
+ declare class LivedigitalSDKError extends Error {
2
+ readonly errorCode: string;
3
+ constructor(msg?: string, errorCode?: string);
4
+ }
5
+ export default LivedigitalSDKError;
@@ -0,0 +1,7 @@
1
+ import LivedigitalSDKError from './LivedigitalSDKError';
2
+ declare class UnsupportedError extends LivedigitalSDKError {
3
+ static readonly UNSUPPORTED_DEVICE_CODE = "unsupported_device_error";
4
+ static readonly UNSUPPORTED_OPERATION_CODE = "unsupported_operation_error";
5
+ constructor(msg?: string, errorCode?: string);
6
+ }
7
+ export default UnsupportedError;