dingrtc 3.9.9 → 3.9.10

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
@@ -1670,6 +1670,7 @@ declare class MixedLocalAudioTrack extends EventEmitter<ITrackEvent> {
1670
1670
  private logger;
1671
1671
  trackMediaType: string;
1672
1672
  protected audioContext: AudioContext;
1673
+ private selfMicMutedProperty;
1673
1674
  constructor(serviceManager: ServiceManager);
1674
1675
  getTrackId(): string;
1675
1676
  getScreenAudioTrack(): LocalAudioTrack;
@@ -1682,6 +1683,7 @@ declare class MixedLocalAudioTrack extends EventEmitter<ITrackEvent> {
1682
1683
  private micTrackEventHandler;
1683
1684
  private screenAudioTrackEventHandler;
1684
1685
  private _audioTrackInnerEventHandler;
1686
+ setSelfMicMutedProperty(currentMicMuted: boolean): void;
1685
1687
  private notifyMicDeviceMuted;
1686
1688
  /**
1687
1689
  * 跟mic状态含义和逻辑略有不同。
@@ -2470,6 +2472,10 @@ declare class ServiceManager extends EventEmitter<ChannelEvens> {
2470
2472
  */
2471
2473
  private processingSubParamsMap;
2472
2474
  private static subAcc;
2475
+ /**
2476
+ * 方便查询当前join信息
2477
+ */
2478
+ joinInfo: JoinParam;
2473
2479
  constructor(client: DingRTCClient, reporter: Reporter);
2474
2480
  private getSubTraceId;
2475
2481
  get publishedLocalTracks(): LocalTrack[];
@@ -2710,6 +2716,10 @@ interface JoinParam {
2710
2716
  * @param token 用于鉴权的 token
2711
2717
  */
2712
2718
  token: string;
2719
+ /**
2720
+ * @param initMicMuted join时通知其他人本人的 mic 是否 mute。默认为true,后续发布 audio track 后更新状态会通知中其他人
2721
+ */
2722
+ initMicMuted?: boolean;
2713
2723
  }
2714
2724
  /**
2715
2725
  * sdk 连接状态