@seastart/srtc-web-sdk 0.2.2 → 0.2.3
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 +1 -1
- package/srtc.d.mts +8 -0
- package/srtc.d.ts +8 -0
- package/srtc.js +1 -1
- package/srtc.mjs +1 -1
package/package.json
CHANGED
package/srtc.d.mts
CHANGED
|
@@ -350,6 +350,10 @@ export declare class LocalVideoTrack extends BaseWebrtcTrack {
|
|
|
350
350
|
* 添加播放窗口
|
|
351
351
|
*/
|
|
352
352
|
addPlayView(container: HTMLElement): void;
|
|
353
|
+
/**
|
|
354
|
+
* 是否存在播放窗口
|
|
355
|
+
*/
|
|
356
|
+
hasPlayView(): boolean;
|
|
353
357
|
/**
|
|
354
358
|
* 移除播放窗口
|
|
355
359
|
*/
|
|
@@ -393,6 +397,10 @@ export declare class RemoteVideoTrack extends BaseWebrtcTrack {
|
|
|
393
397
|
* 添加播放窗口
|
|
394
398
|
*/
|
|
395
399
|
addPlayView(container: HTMLElement): void;
|
|
400
|
+
/**
|
|
401
|
+
* 是否存在播放窗口
|
|
402
|
+
*/
|
|
403
|
+
hasPlayView(): boolean;
|
|
396
404
|
/**
|
|
397
405
|
* 移除播放窗口
|
|
398
406
|
*/
|
package/srtc.d.ts
CHANGED
|
@@ -350,6 +350,10 @@ export declare class LocalVideoTrack extends BaseWebrtcTrack {
|
|
|
350
350
|
* 添加播放窗口
|
|
351
351
|
*/
|
|
352
352
|
addPlayView(container: HTMLElement): void;
|
|
353
|
+
/**
|
|
354
|
+
* 是否存在播放窗口
|
|
355
|
+
*/
|
|
356
|
+
hasPlayView(): boolean;
|
|
353
357
|
/**
|
|
354
358
|
* 移除播放窗口
|
|
355
359
|
*/
|
|
@@ -393,6 +397,10 @@ export declare class RemoteVideoTrack extends BaseWebrtcTrack {
|
|
|
393
397
|
* 添加播放窗口
|
|
394
398
|
*/
|
|
395
399
|
addPlayView(container: HTMLElement): void;
|
|
400
|
+
/**
|
|
401
|
+
* 是否存在播放窗口
|
|
402
|
+
*/
|
|
403
|
+
hasPlayView(): boolean;
|
|
396
404
|
/**
|
|
397
405
|
* 移除播放窗口
|
|
398
406
|
*/
|