@byteplus/rtc 4.56.1-meeting.15 → 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 +16 -1
- package/index.esm.min.js +2 -2
- package/index.min.js +2 -2
- package/package.json +1 -1
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
|
/**
|