@trtc/call-engine-lite-js 3.5.0 → 3.5.2

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
@@ -393,6 +393,16 @@ declare enum TUICallEvent {
393
393
  * tuiCallEngine.on(TUICallEvent.ON_CALL_CANCELED, handleOnCallCanceled);
394
394
  */
395
395
  ON_CALL_CANCELED = "onCallCancelled",
396
+ /**
397
+ * @description 收到该回调说明本次通话结束了
398
+ * @memberOf module:TUICallEvent
399
+ * @example
400
+ * let handleCallingEnd = function(event) {
401
+ * console.log(event)
402
+ * };
403
+ * tuiCallEngine.on(TUICallEvent.ON_CALL_END, handleCallEnd);
404
+ */
405
+ ON_CALL_END = "onCallEnd",
396
406
  /**
397
407
  * @private
398
408
  * @description 收到该回调说明本次通话结束了
@@ -1098,6 +1108,8 @@ declare class TUICallEngine {
1098
1108
  * @returns
1099
1109
  */
1100
1110
  callExperimentalAPI(jsonStr: string): Promise<any>;
1111
+ reportLog(logData: any): void;
1112
+ private _cleanupAvoidRepeatCallState;
1101
1113
  /**
1102
1114
  * 获取设备列表
1103
1115
  * @memberof TUICallEngine
@@ -1158,6 +1170,7 @@ declare class TUICallEngine {
1158
1170
  private _analyzeVideoRenderParams;
1159
1171
  private _handleTrtcCloudBindEvent;
1160
1172
  private _observerFunction;
1173
+ private _reset;
1161
1174
  private _onDeviceUpdated;
1162
1175
  private _initLogger;
1163
1176
  getDevicePermission(): {