@byteplus/rtc 4.56.1-meeting.14 → 4.56.1-meeting.16

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
@@ -1955,7 +1955,9 @@ declare enum EngineEventsTypes {
1955
1955
  onRejoinWithTcp = "onRejoinWithTcp",
1956
1956
  onIceConnectWithTcp = "onIceConnectWithTcp",
1957
1957
  onPublishRetry = "onPublishRetry",
1958
- onSubscribeRetry = "onSubscribeRetry"
1958
+ onSubscribeRetry = "onSubscribeRetry",
1959
+ onPublishResult = "onPublishResult",
1960
+ onSubscribeResult = "onSubscribeResult"
1959
1961
  }
1960
1962
 
1961
1963
  /**
@@ -2747,6 +2749,19 @@ export interface IEngineEvents {
2747
2749
  userId: string;
2748
2750
  screen: boolean;
2749
2751
  }) => void;
2752
+
2753
+ [EngineEventsTypes.onPublishResult]: (e: {
2754
+ isScreen: boolean;
2755
+ isAutoPublish: boolean;
2756
+ errorCode?: ErrorCode;
2757
+ }) => void;
2758
+
2759
+ [EngineEventsTypes.onSubscribeResult]: (e: {
2760
+ userId: string;
2761
+ isScreen: boolean;
2762
+ isAutoSubscribe: boolean;
2763
+ errorCode?: ErrorCode;
2764
+ }) => void;
2750
2765
  }
2751
2766
 
2752
2767
  /**
@@ -5828,7 +5843,7 @@ declare class VERTC implements IVERTC {
5828
5843
  commitInfo: string;
5829
5844
  downloadLog: (key?: string | undefined) => void;
5830
5845
  setLogConfig: ({ logLevel, LogfileSize, }: {
5831
- logLevel?: "none" | "error" | "warning" | "info" | "trace" | undefined;
5846
+ logLevel?: "none" | "error" | "info" | "warning" | "trace" | undefined;
5832
5847
  LogfileSize?: number | undefined;
5833
5848
  }) => void;
5834
5849
  }