dingrtc 3.8.12 → 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 +5 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +4 -4
- package/package.json +1 -1
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,
|
|
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;
|