@yang__yj/pixelstreaming-core 1.0.2 → 1.0.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/dist/lib-pixelstreamingfrontend.esm.js +2 -1
- package/dist/lib-pixelstreamingfrontend.esm.js.LICENSE.txt +13 -0
- package/dist/lib-pixelstreamingfrontend.js +2 -1
- package/dist/lib-pixelstreamingfrontend.js.LICENSE.txt +13 -0
- package/package.json +1 -1
- package/src/WebRtcPlayer/WebRtcPlayerController.ts +15 -13
- package/yang__yj-pixelstreaming-core-1.0.1.tgz +0 -0
- package/yang__yj-pixelstreaming-core-1.0.3.tgz +0 -0
- package/yang__yj-pixelstreaming-core-1.0.4.tgz +0 -0
- package/yang__yj-pixelstreaming-core-1.0.2.tgz +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*! Element Plus Icons Vue v2.3.2 */
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @vue/runtime-dom v3.5.38
|
|
5
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
6
|
+
* @license MIT
|
|
7
|
+
**/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @vue/shared v3.5.38
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/
|
package/package.json
CHANGED
|
@@ -1375,28 +1375,30 @@ export class WebRtcPlayerController {
|
|
|
1375
1375
|
`Got streamer list ${messageStreamerList.ids}`,
|
|
1376
1376
|
6
|
|
1377
1377
|
);
|
|
1378
|
-
|
|
1379
1378
|
const streamerBusyList =
|
|
1380
1379
|
(
|
|
1381
1380
|
messageStreamerList as unknown as {
|
|
1382
1381
|
streamerBusyList?: Array<{ streamerId: string }>;
|
|
1383
1382
|
}
|
|
1384
1383
|
).streamerBusyList ?? [];
|
|
1385
|
-
|
|
1386
1384
|
|
|
1387
1385
|
if (streamerBusyList.length > 0) {
|
|
1388
1386
|
console.log(window.location.href, '======');
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
)
|
|
1399
|
-
|
|
1387
|
+
ElMessageBox.confirm(
|
|
1388
|
+
'监测到当前窗口有人在使用,是否强制进入?',
|
|
1389
|
+
'警告',
|
|
1390
|
+
{
|
|
1391
|
+
confirmButtonText: '确定',
|
|
1392
|
+
cancelButtonText: '取消',
|
|
1393
|
+
type: 'warning'
|
|
1394
|
+
}
|
|
1395
|
+
)
|
|
1396
|
+
.then(() => {
|
|
1397
|
+
this.webSocketController.sendSubscribe(
|
|
1398
|
+
streamerBusyList[0].streamerId
|
|
1399
|
+
);
|
|
1400
|
+
})
|
|
1401
|
+
.catch(() => {});
|
|
1400
1402
|
}
|
|
1401
1403
|
|
|
1402
1404
|
// 将streamer添加到UI中
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|