ucservice 1.8.0 → 1.8.2
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/ucservice.common.js +16 -1
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.css +1 -1
- package/dist/ucservice.umd.js +16 -1
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +4 -1
- package/index.js +0 -1268
- package/src/common-request.js +0 -162
- package/src/config.js +0 -15
- package/src/css/scooper.video.css +0 -343
- package/src/lib/cometd.js +0 -3286
- package/src/lib/janus.js +0 -3413
- package/src/lib/sha256.js +0 -250
- package/src/net_url/account_net_url.js +0 -481
- package/src/net_url/aduio_net_url.js +0 -337
- package/src/net_url/aduio_video_net_url.js +0 -187
- package/src/net_url/dept_ry_url.js +0 -479
- package/src/net_url/dept_url.js +0 -455
- package/src/net_url/location_url.js +0 -288
- package/src/net_url/meet_url.js +0 -413
- package/src/net_url/message_url.js +0 -432
- package/src/net_url/record_url.js +0 -228
- package/src/net_url/video_net_url.js +0 -79
- package/src/scooper-video-new.js +0 -3695
- package/src/scooper.dispatch.js +0 -3107
- package/src/scooper.video.js +0 -3937
- package/vue.config.js +0 -32
package/dist/ucservice.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.video-main{position:absolute;top:0;left:-25px;right:-12px;bottom:-18px}.video-main-full{position:absolute;top:1px;left:1px;right:1px;bottom:1px}.video-main-full>li,.video-main>li{border:1px solid #aaa;float:left;position:relative}.video-main-full>li.loading,.video-main>li.loading{background:#000}.video-main-full>li:hover,.video-main>li:hover{border:1px solid #ffb951}.video-main-full>li.sel,.video-main>li.sel{border:1px solid #ef8601}.video-main-full.mode-1>li,.video-main.mode-1>li{width:98.5%;height:98.5%;list-style:none}.video-main-full.mode-1>li .info,.video-main.mode-1>li .info{font-size:20px;bottom:40px}.video-main>li .info-self{position:absolute;left:
|
|
1
|
+
.video-main{position:absolute;top:0;left:-25px;right:-12px;bottom:-18px}.video-main-full{position:absolute;top:1px;left:1px;right:1px;bottom:1px}.video-main-full>li,.video-main>li{border:1px solid #aaa;float:left;position:relative}.video-main-full>li.loading,.video-main>li.loading{background:#000}.video-main-full>li:hover,.video-main>li:hover{border:1px solid #ffb951}.video-main-full>li.sel,.video-main>li.sel{border:1px solid #ef8601}.video-main-full.mode-1>li,.video-main.mode-1>li{width:98.5%;height:98.5%;list-style:none}.video-main-full.mode-1>li .info,.video-main.mode-1>li .info{font-size:20px;bottom:40px}.video-main>li .info-self{position:absolute;left:3.2rem;top:.26rem;font-size:1rem;z-index:9}.video-main.mode-4>li{width:49%;height:49%;list-style:none}.video-main.mode-4>li .info{font-size:18px;bottom:20px}.video-main.mode-6>li{width:33.33%;height:33.33%}.video-main.mode-6>li .info{font-size:14px;bottom:13px}.video-main.mode-6 .screen-1{width:66.66%;height:66.65%}.video-main.mode-6 .screen-1 .info{font-size:18px;bottom:30px}.video-main.mode-9>li{width:32.5%;height:32.5%;list-style:none}.video-main.mode-9>li .info{font-size:12px;bottom:14px}.video-main.mode-16>li{width:24.5%;height:24.5%;list-style:none}.video-main.mode-16>li .info{font-size:8px;bottom:10px}.video-box{-o-object-fit:fill;object-fit:fill;display:none;width:100%;height:100%}.video-main .video-box.scale-scene{width:100%!important;height:100%!important;-o-object-fit:fill!important;object-fit:fill!important}.video-main.mode-4 .close-btn{width:1.1rem;height:1.1rem}.video-main.mode-9 .close-btn{width:.95rem;height:.95rem}.video-main.mode-16 .close-btn{width:.85rem;height:.85rem}.video-main.mode-4 .recv-audio-btn{bottom:-4px;right:1.8rem;width:2.5rem;height:2.5rem}.video-main.mode-9 .recv-audio-btn{bottom:-3px;right:1.6rem;width:2.2rem;height:2.2rem}.video-main.mode-16 .recv-audio-btn{bottom:-2px;right:1.4rem;width:2rem;height:2rem}.video-main.mode-4 .unrecv-audio-btn{bottom:-4px;right:1.8rem;width:2.5rem;height:2.5rem}.video-main.mode-9 .unrecv-audio-btn{bottom:-3px;right:1.6rem;width:2.2rem;height:2.2rem}.video-main.mode-16 .unrecv-audio-btn{bottom:-2px;right:1.4rem;width:2rem;height:2rem}.video-main.mode-4 .rotate-btn{bottom:3px;right:4.8rem;width:1.5rem;height:1.5rem}.video-main.mode-9 .rotate-btn{bottom:3px;right:4.2rem;width:1.42rem;height:1.42rem}.video-main.mode-16 .rotate-btn{bottom:3px;right:3.7rem;width:1.3rem;height:1.3rem}.video-main.mode-4 .scale-btn{bottom:7px;right:7.5rem;width:1rem;height:1rem}.video-main.mode-9 .scale-btn{bottom:6px;right:7rem;width:.9rem;height:.9rem}.video-main.mode-16 .scale-btn{bottom:7px;right:6rem;width:.8rem;height:.8rem}.video-main.mode-9 .stream-loading{width:11.4rem;height:2.1rem;line-height:2.1rem;font-size:15px;background-size:15px}.video-main.mode-16 .stream-loading{width:9.3rem;height:2.1rem;line-height:2.1rem;font-size:14px;background-size:14px;margin-left:5.7rem}.video-main.mode-16 .real-result,.video-main.mode-16 .result{font-size:12px}.stream-loading{width:14rem;height:2.1rem;line-height:2.1rem;position:absolute;top:50%;left:50%;margin-top:-1rem;margin-left:-7.1rem;color:#fff;font-size:1.14rem;padding-left:2.1rem}.info{color:#fff;left:10px;width:67%}.info,.operate-btn{position:absolute;float:left;z-index:1}.operate-btn{width:1.5rem;height:1.5rem;right:1px;bottom:2px;cursor:pointer}.send-audio-btn,.unsend-audio-btn{bottom:-8px;right:70px;width:3rem;height:3rem}.rotate-btn,.send-audio-btn,.unsend-audio-btn{position:absolute;border:0;float:left;background-size:100% 100%;background-color:transparent}.rotate-btn{bottom:1px;right:6.07rem;width:1.75rem;height:1.75rem}.rotate-btn.bggray,.scale-btn.bggray{filter:contrast(.5)}.scale-btn{position:absolute;bottom:5px;right:9.5rem;border:0;width:1.25rem;height:1.25rem;float:left;background-size:100% 100%;background-color:transparent}.recv-audio-btn,.unrecv-audio-btn{bottom:-8px;right:30px;width:3rem;height:3rem}.close-btn,.recv-audio-btn,.unrecv-audio-btn{position:absolute;border:0;float:left;background-size:100% 100%;background-color:transparent}.close-btn{bottom:5px;right:5px;width:1.25rem;height:1.25rem}.operation{position:absolute;width:100%;height:12%;bottom:0;background:rgba(0,0,0,.3);color:#fff}.hide{display:none}
|
package/dist/ucservice.umd.js
CHANGED
|
@@ -14319,6 +14319,19 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14319
14319
|
$(this).toggleClass("bggray"); //jquery方式阻止默认事件 & 冒泡事件
|
|
14320
14320
|
|
|
14321
14321
|
return false;
|
|
14322
|
+
});
|
|
14323
|
+
videoFlagObj.find('button[name=screenVideo]').click(function () {
|
|
14324
|
+
let isFull = $(this).hasClass('fullscreen-btn');
|
|
14325
|
+
|
|
14326
|
+
if (isFull) {
|
|
14327
|
+
$(this).attr('class', 'autoscreen-btn');
|
|
14328
|
+
$(this).attr('title', '退出全屏');
|
|
14329
|
+
} else {
|
|
14330
|
+
$(this).attr('class', 'fullscreen-btn');
|
|
14331
|
+
$(this).attr('title', '全屏');
|
|
14332
|
+
} //jquery方式阻止默认事件 & 冒泡事件
|
|
14333
|
+
// return false;
|
|
14334
|
+
|
|
14322
14335
|
}); //接收音频事件
|
|
14323
14336
|
|
|
14324
14337
|
videoFlagObj.find("button[name='recvAudio']").click(function () {
|
|
@@ -14790,7 +14803,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14790
14803
|
videoHtml += '<li class="screen screen-' + i + '" index="' + (i - 1) + '" draggable="true"><video muted class="video-box" id="video-' + i + '" autoplay ></video>' + '<div class="hide info ' + position + '" id="info-' + i + '"></div><div class="hide info-self info-top" id="info-self-' + i + '"></div>' + '<div class="hide frame-decoded" id="frame-decoded-' + i + '"style="position:absolute;float:left;color:#fff;width:67%;z-index:1;top:135px;left:180px">网络信号不佳</div>' + '<div class="operate-btn">'; //videoHtml +='<button type="button" class="unlock-video-btn hide" name="lockVideo"></button>';
|
|
14791
14804
|
// checkUserMediaAvailable() &&
|
|
14792
14805
|
|
|
14793
|
-
videoHtml += '<button type="button" class="scale-btn bggray hide" name="scaleVideo" title="视频画面铺满"></button><button type="button" class="rotate-btn hide" name="rotateVideo" rotate-index="0" title="视频旋转"></button><button type="button" class="unsend-audio-btn hide" name="sendAudio"></button>';
|
|
14806
|
+
videoHtml += '<button type="button" class="fullscreen-btn hide" name="screenVideo" title="全屏"></button><button type="button" class="scale-btn bggray hide" name="scaleVideo" title="视频画面铺满"></button><button type="button" class="rotate-btn hide" name="rotateVideo" rotate-index="0" title="视频旋转"></button><button type="button" class="unsend-audio-btn hide" name="sendAudio"></button>';
|
|
14794
14807
|
videoHtml += '<button type="button" class="unrecv-audio-btn hide" name="recvAudio"></button>' + '<button type="button" class="close-btn hide" name="closeVideo"></button>' + '</div>' + '</li>';
|
|
14795
14808
|
}
|
|
14796
14809
|
|
|
@@ -15588,6 +15601,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
15588
15601
|
self.tagBox.parent().find('.unrecv-audio-btn').hide();
|
|
15589
15602
|
}
|
|
15590
15603
|
|
|
15604
|
+
self.tagBox.parent().find('button[name=screenVideo]').attr('class', 'fullscreen-btn');
|
|
15605
|
+
self.tagBox.parent().find('button[name=screenVideo]').attr('title', '全屏');
|
|
15591
15606
|
self.tagBox.parent().find('.recv-audio-btn').attr("class", "unrecv-audio-btn");
|
|
15592
15607
|
self.tagBox.parent().find('.send-audio-btn').attr("class", "unsend-audio-btn");
|
|
15593
15608
|
let width = this.videoWidth;
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|