@rongcloud/plugin-rtc 5.7.5-alpha.4 → 5.7.5

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/dist/index.d.ts CHANGED
@@ -348,10 +348,6 @@ declare abstract class RCLocalTrack extends RCTrack {
348
348
  * 本地流已销毁
349
349
  */
350
350
  static __INNER_EVENT_DESTROY__: string;
351
- /**
352
- * 内部发送两秒视频
353
- */
354
- static __INNER_SEND_TWO_SECONDS_VIDEO__: string;
355
351
  /**
356
352
  * track 是否被销毁
357
353
  */
@@ -1511,10 +1507,6 @@ interface ISendTrackState extends IRCTrackStat {
1511
1507
  * 流状态(0:不可用, 1:可用)
1512
1508
  */
1513
1509
  trackState: TrackState;
1514
- /**
1515
- * 发送帧数
1516
- */
1517
- framesSent?: number;
1518
1510
  }
1519
1511
  /**
1520
1512
  * receive track 所有字段
@@ -1975,10 +1967,6 @@ interface IRCRTCInitOptions {
1975
1967
  * 加密机创建参数
1976
1968
  */
1977
1969
  encryptor?: IRCEncryptorHooks;
1978
- /**
1979
- * 是否开启 WebRTC 问题检测器,默认为 `false`
1980
- */
1981
- isOpenWebRTCIssueDetector?: boolean;
1982
1970
  }
1983
1971
  interface ICameraVideoProfile extends IVideoProfile {
1984
1972
  cameraId?: string;
@@ -3398,7 +3386,6 @@ declare class RCRTCPeerConnection extends EventEmitter {
3398
3386
  * 是否是房间内观众
3399
3387
  */
3400
3388
  private readonly _isRoomAudience;
3401
- private readonly _options;
3402
3389
  static __INNER_EVENT_TRACK_READY__: string;
3403
3390
  static __INNER_AUDIOLEVEL_CHANGE__: string;
3404
3391
  static __INNER_ICE_STATE_CHANGE__: string;
@@ -3412,7 +3399,6 @@ declare class RCRTCPeerConnection extends EventEmitter {
3412
3399
  private _reportR3R4ToPolarisTimer;
3413
3400
  private _isDestroyed;
3414
3401
  private _formatStatsData?;
3415
- private _WebRTCIssueDetector?;
3416
3402
  constructor(_logger: BasicLogger,
3417
3403
  /**
3418
3404
  * _reTryExchange 方法
@@ -3433,16 +3419,11 @@ declare class RCRTCPeerConnection extends EventEmitter {
3433
3419
  /**
3434
3420
  * 是否是房间内观众
3435
3421
  */
3436
- _isRoomAudience?: boolean, _options?: {
3437
- /**
3438
- * 是否启用自定义加密
3439
- */
3440
- encrypt: boolean;
3441
- /**
3442
- * 是否开启 WebRTC 问题检测器
3443
- */
3444
- isOpenWebRTCIssueDetector: boolean;
3445
- });
3422
+ _isRoomAudience?: boolean,
3423
+ /**
3424
+ * 是否启用自定义加密
3425
+ */
3426
+ encrypt?: boolean);
3446
3427
  getLocalTracks(): RCLocalTrack[];
3447
3428
  private _onConnectionStateChange;
3448
3429
  private startAutoExecute;
@@ -3504,13 +3485,6 @@ declare class RCRTCPeerConnection extends EventEmitter {
3504
3485
  * @param listener
3505
3486
  */
3506
3487
  registerReportListener(listener: IRCRTCReportListener | null): void;
3507
- /**
3508
- * 判断是否发送了两秒视频
3509
- * @param framesSent 发送帧数
3510
- * @param frameRate 发送帧率
3511
- * @param trackId
3512
- */
3513
- private _isSendTwoSecondsVideo;
3514
3488
  /**
3515
3489
  * 组装上行质量报告数据
3516
3490
  */