dingrtc 3.8.12-dev.2 → 3.8.13

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
@@ -1832,6 +1832,10 @@ interface SubscriptionOptions {
1832
1832
  stream?: signal_msg.IStream;
1833
1833
  connection?: PeerConnection;
1834
1834
  resolutionInfo?: ResolutionInfo$1;
1835
+ /**
1836
+ * 记住用户希望的原始reso参数,send param之前需要做校验
1837
+ * resub 的时候需要复用这个参数
1838
+ */
1835
1839
  userConfigResolution?: ResolutionInfo$1;
1836
1840
  uid?: string;
1837
1841
  }
@@ -1865,7 +1869,7 @@ declare class Subscription extends EventEmitter<ISubscribeEvents> {
1865
1869
  stop(): Promise<void | signal_msg.IResponse>;
1866
1870
  mute(mediaType: TrackMediaType): Promise<signal_msg.IResponse>;
1867
1871
  unmute(mediaType: TrackMediaType): Promise<signal_msg.IResponse>;
1868
- applyOptions(resolutionInfo: ResolutionInfo$1, inner?: boolean): Promise<signal_msg.IResponse>;
1872
+ applyOptions(resolutionInfo: ResolutionInfo$1, sdkInnerInvoke?: boolean): Promise<signal_msg.IResponse>;
1869
1873
  reset(): void;
1870
1874
  clear(): void;
1871
1875
  addTransceiver(transceiver: RTCRtpTransceiver): void;
@@ -3576,6 +3580,7 @@ declare class RemoteTrack extends Track {
3576
3580
  private onFirstFrame;
3577
3581
  /**
3578
3582
  * @internal
3583
+ * @deprecated 看起来这个方法是专用用于监听 音频首帧? 标记了内部但是又没有使用?
3579
3584
  */
3580
3585
  attachSubscription(subscription: Subscription): void;
3581
3586
  }