yjz-web-sdk 1.0.4-beta.0 → 1.0.4-beta.1
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/lib/yjz-web-sdk.css +1 -1
- package/lib/yjz-web-sdk.js +1 -1
- package/lib/yjz-web-sdk.umd.cjs +1 -1
- package/package.json +1 -1
package/lib/yjz-web-sdk.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.vContainer[data-v-
|
|
1
|
+
.vContainer[data-v-17d97866]{transition:transform .2s linear;transform-origin:center center;margin:0;overflow:hidden}.flex[data-v-17d97866]{display:flex}.flex-1[data-v-17d97866]{flex:1 1 0}.items-center[data-v-17d97866]{align-items:center}.justify-center[data-v-17d97866]{justify-content:center}.video-control[data-v-17d97866]{width:100%;height:100%;display:block;-webkit-user-select:none;user-select:none;object-fit:contain;clip-path:inset(0 1px);-webkit-user-drag:none}.circle-cursor[data-v-17d97866]{cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%3e%3ccircle%20cx='12'%20cy='12'%20r='12'%20fill='%23fff'%20opacity='.6'/%3e%3ccircle%20cx='12'%20cy='12'%20r='10'%20fill='%23000'%20opacity='.6'/%3e%3c/svg%3e") 12 12,auto}.triangle-cursor[data-v-17d97866]{cursor:url("data:image/svg+xml,%3csvg%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20width='22'%20height='22'%3e%3cpath%20d='M143.832313%205.834982H143.686438A108.676545%20108.676545%200%200%200%205.834982%20143.686438l34.499333-11.815839-34.499333%2011.815839%200.072938%200.218812%200.145874%200.437624%200.583498%201.750494%202.333993%206.71023%208.752474%2025.528047L49.232663%20269.867929a2254749.467572%202254749.467572%200%200%201%20223.917444%20652.351017l9.335972%2027.205605%202.552804%207.585476%200.729373%202.188119a72.572592%2072.572592%200%200%200%20126.181491%2040.844876%2072.134968%2072.134968%200%200%200%2014.076895-18.963693c3.282178-6.41848%205.689108-13.639271%208.023101-20.3495l0.072937-0.291749%2072.572592-209.329989%2047.409231-136.830334%2015.53564-44.710551%200.145874-0.364687%200.510561-0.145874%2045.002301-15.900327%20137.486769-48.649165c99.340573-35.228705%20202.984445-71.989094%20209.913487-74.906584l3.355115-1.312871c8.023101-3.136303%2022.391744-8.606599%2033.915834-20.130689a72.499655%2072.499655%200%200%200%200-102.549813L999.240712%20304.877823c-1.823432-1.969307-7.293728-7.731351-13.274585-11.961714a89.056417%2089.056417%200%200%200-27.205605-12.3264h-0.145874l-2.552805-0.875247L948.184617%20277.161657l-27.86204-9.263034-94.672588-31.800653A405018.007245%20405018.007245%200%200%201%20268.919745%2048.138604L178.039896%2017.504947%20152.657723%208.752473%20145.874556%206.637292%20144.196999%205.90792%20143.832313%205.834982z'%20fill='%23000000'%20opacity='.7'%3e%3c/path%3e%3c/svg%3e") 1 1,auto}.default-cursor[data-v-17d97866]{cursor:default}.no-events[data-v-17d97866]{pointer-events:none!important}
|
package/lib/yjz-web-sdk.js
CHANGED
|
@@ -4482,7 +4482,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
4482
4482
|
}
|
|
4483
4483
|
return target;
|
|
4484
4484
|
};
|
|
4485
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4485
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-17d97866"]]);
|
|
4486
4486
|
export {
|
|
4487
4487
|
ActionCommandType,
|
|
4488
4488
|
ActionType,
|
package/lib/yjz-web-sdk.umd.cjs
CHANGED
|
@@ -113,7 +113,7 @@ Insert:124,Delete:112,Home:122,End:123,PageUp:92,PageDown:93,ScrollLock:116,Paus
|
|
|
113
113
|
(...e)=>t.unref(A)&&t.unref(A)(...e)),onPointerup:n[6]||(n[6]=//@ts-ignore
|
|
114
114
|
(...e)=>t.unref(O)&&t.unref(O)(...e)),onPointerleave:n[7]||(n[7]=//@ts-ignore
|
|
115
115
|
(...e)=>t.unref(I)&&t.unref(I)(...e)),onWheel:n[8]||(n[8]=//@ts-ignore
|
|
116
|
-
(...e)=>t.unref(M)&&t.unref(M)(...e)),style:t.normalizeStyle({backgroundColor:`${t.unref(l)}`}),autoplay:"",playsinline:"",muted:"",disablePictureInPicture:!0},null,38)],36)],512))}}),[["__scopeId","data-v-
|
|
116
|
+
(...e)=>t.unref(M)&&t.unref(M)(...e)),style:t.normalizeStyle({backgroundColor:`${t.unref(l)}`}),autoplay:"",playsinline:"",muted:"",disablePictureInPicture:!0},null,38)],36)],512))}}),[["__scopeId","data-v-17d97866"]]);e.ActionCommandType=ke,e.ActionType=_e,e.ChannelDataType=Ee,e.ContainerDirection=De,e.EmitType=m,e.GestureData=class{constructor(e){r(this,"mode"),this.mode=e}},e.GroupControllerManager=class extends d{constructor(){super(...arguments),r(this,"webRTCConfigList",[]),r(this,"sdkList",[]),r(this,"loopTimer",null),r(this,"visibilityMap",new Map),r(this,"previousVisibilityMap",new Map)}startGroupControl(e){if(!Array.isArray(e)||0===e.length)throw new Error("群控列表为空");const t=e.filter((e=>e.isControl)).length;if(1!==t)throw new Error(`一次群控发起,有且只有一个主控,当前主控个数为 ${t}。`);this.webRTCConfigList=e,e.forEach((e=>{const t=new Le(e);t.startConnection(),t.on(m.screenshot,(e=>{this.emit(m.screenshot,e)})),this.sdkList.push(t)})),this.startLoop()}stopGroupControl(){this.sdkList.forEach((e=>e.stop())),this.sdkList=[],this.visibilityMap.clear(),this.previousVisibilityMap.clear(),this.removeAllListeners(),this.stopLoop()}getConnectionList(){return this.webRTCConfigList}
|
|
117
117
|
/**
|
|
118
118
|
* 设置某个视图的可见状态
|
|
119
119
|
* @param viewId 视图 ID
|