@byteplus/rtc 4.56.4 → 4.56.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/index.d.ts CHANGED
@@ -5696,6 +5696,8 @@ export interface IVERTC {
5696
5696
  }) => Promise<{
5697
5697
  video: boolean;
5698
5698
  audio: boolean;
5699
+ videoExceptionError?: DOMException;
5700
+ audioExceptionError?: DOMException;
5699
5701
  }>;
5700
5702
 
5701
5703
  /**
@@ -5797,6 +5799,8 @@ declare class VERTC implements IVERTC {
5797
5799
  }) => Promise<{
5798
5800
  video: boolean;
5799
5801
  audio: boolean;
5802
+ videoExceptionError?: DOMException | undefined;
5803
+ audioExceptionError?: DOMException | undefined;
5800
5804
  }>;
5801
5805
  enumerateAudioCaptureDevices: () => Promise<MediaDeviceInfo[]>;
5802
5806
  enumerateVideoCaptureDevices: () => Promise<MediaDeviceInfo[]>;
@@ -5811,7 +5815,7 @@ declare class VERTC implements IVERTC {
5811
5815
  commitInfo: string;
5812
5816
  downloadLog: (key?: string | undefined) => void;
5813
5817
  setLogConfig: ({ logLevel, LogfileSize, }: {
5814
- logLevel?: "none" | "error" | "info" | "warning" | "trace" | undefined;
5818
+ logLevel?: "none" | "warning" | "error" | "info" | "trace" | undefined;
5815
5819
  LogfileSize?: number | undefined;
5816
5820
  }) => void;
5817
5821
  }