@seastart/srtc-web-sdk 0.1.3 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seastart/srtc-web-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "srtc sdk for web",
5
5
  "main": "srtc.js",
6
6
  "module": "srtc.mjs",
package/srtc.d.mts CHANGED
@@ -306,7 +306,7 @@ export declare class LocalMicTrack extends LocalAudioTrack {
306
306
  /**
307
307
  * 停止采集
308
308
  */
309
- stopCapture(): Promise<void>;
309
+ stopCapture(): void;
310
310
  /**
311
311
  * 切换麦克风
312
312
  * @param deviceId
@@ -405,6 +405,7 @@ export declare class SRTC extends BaseSRTC {
405
405
  protected getStoredDeviceId(): string;
406
406
  protected getDeviceType(): DeviceType;
407
407
  constructor(initParams: SdkInitParams);
408
+ protected postLeave(): void;
408
409
  leave(): Promise<void>;
409
410
  /**
410
411
  * 获取设备列表
package/srtc.d.ts CHANGED
@@ -306,7 +306,7 @@ export declare class LocalMicTrack extends LocalAudioTrack {
306
306
  /**
307
307
  * 停止采集
308
308
  */
309
- stopCapture(): Promise<void>;
309
+ stopCapture(): void;
310
310
  /**
311
311
  * 切换麦克风
312
312
  * @param deviceId
@@ -405,6 +405,7 @@ export declare class SRTC extends BaseSRTC {
405
405
  protected getStoredDeviceId(): string;
406
406
  protected getDeviceType(): DeviceType;
407
407
  constructor(initParams: SdkInitParams);
408
+ protected postLeave(): void;
408
409
  leave(): Promise<void>;
409
410
  /**
410
411
  * 获取设备列表