(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4bc8f075"],{
/***/"2a48":
/***/function(e,t,n){"use strict";
/* unused harmony export videoCodec */
/* unused harmony export videoRecviver */
/* harmony export (binding) */n.d(t,"k",(function(){return c})),
/* harmony export (binding) */n.d(t,"f",(function(){return u})),
/* harmony export (binding) */n.d(t,"g",(function(){return p})),
/* harmony export (binding) */n.d(t,"e",(function(){return l})),
/* harmony export (binding) */n.d(t,"i",(function(){return h})),
/* harmony export (binding) */n.d(t,"h",(function(){return O})),
/* harmony export (binding) */n.d(t,"j",(function(){return S})),
/* harmony export (binding) */n.d(t,"d",(function(){return g})),
/* harmony export (binding) */n.d(t,"c",(function(){return j})),
/* harmony export (binding) */n.d(t,"b",(function(){return C})),
/* harmony export (binding) */n.d(t,"a",(function(){return I}));
/* harmony import */var r=n("c7eb"),o=n("1da1"),a=n("7424"),i=n("b775");
/* harmony import */function c(e){return s.apply(this,arguments)}function s(){return(s=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.VIDEOLIST,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(e){return d.apply(this,arguments)}function d(){return(d=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.HISTORYVIDEOLIST,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.SNAPHISTORYIMAGESLIST,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return b.apply(this,arguments)}function b(){return(b=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.HISTORYIMAGESLIST,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.VIDEODEL,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return v.apply(this,arguments)}function v(){return(v=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.VIDEOADD,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return w.apply(this,arguments)}function w(){return(w=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.VIDEOEDIT,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e){return y.apply(this,arguments)}function y(){return(y=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.GETVIDEOSTATUS,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e){return T.apply(this,arguments)}function T(){return(T=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.SETVIDEOSTOPORSTART,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e){return M.apply(this,arguments)}function M(){return(M=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.PTZCONTROL,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return V.apply(this,arguments)}function V(){return(V=Object(o.a)(Object(r.a)().mark((function e(t){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.g)(a.GETMONIBUCA,i.b.POST,t));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}
/* unused harmony default export */},
/***/ac87:
/***/function(e,t,n){
// extracted by mini-css-extract-plugin
/***/},
/***/ad7d:
/***/function(e,t,n){"use strict";
// ESM COMPAT FLAG
n.r(t);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"411544a2-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/video/GB28281VideoManager.vue?vue&type=template&id=645c15d1&scoped=true
var r=n("5530"),o=(n("14d9"),n("a9e3"),n("b64b"),n("2a48")),a=n("2f62"),i=n("c1df"),c=n.n(i),s=(n("3f2c"),{name:"VideoManager",i18n:n("89fe"),components:{},data:function(){return{jessibuca:null,version:"",wasm:!1,vc:"ff",playing:!1,quieting:!0,loaded:!1,
// mute
showOperateBtns:!0,showBandwidth:!0,err:"",speed:0,performance:"",volume:1,rotate:0,useWCS:!1,useMSE:!0,useOffscreen:!1,recording:!1,recordType:"webm",scale:0,messageShowLoad:!1,videoList:[],MonibucaServer:"",video_url:"",VideoTitle:"",PlayModel:!1,editUuid:"",columns:[{width:"5%",slotName:"configComponent.video.TableVideoIndex",scopedSlots:{customRender:"TableVideoIndex",title:"configComponent.video.TableVideoIndex"},dataIndex:"TableVideoIndex"},{width:"10%",slotName:"configComponent.video.TableVideoName",scopedSlots:{customRender:"Name",title:"configComponent.video.TableVideoName"},dataIndex:"Name"},{slotName:"configComponent.video.Manufacturer",width:"10%",scopedSlots:{customRender:"Manufacturer",title:"configComponent.video.Manufacturer"},dataIndex:"Manufacturer"},{slotName:"configComponent.video.Model",width:"15%",scopedSlots:{customRender:"Model",title:"configComponent.video.Model"},dataIndex:"Model"},{slotName:"configComponent.video.RegisterTime",width:"10%",scopedSlots:{customRender:"RegisterTime",title:"configComponent.video.RegisterTime"},dataIndex:"RegisterTime"},{slotName:"configComponent.video.UpdateTime",width:"10%",scopedSlots:{customRender:"UpdateTime",title:"configComponent.video.UpdateTime"},dataIndex:"UpdateTime"},{slotName:"configComponent.video.TableVideoOpt",width:"5%",scopedSlots:{customRender:"Opt",title:"configComponent.video.TableVideoOpt"}}],pagination:{pageSize:15,showSizeChanger:!0}}},unmounted:function(){this.jessibuca.destroy()},computed:Object(r.a)({},Object(a.e)("setting",["videoServer"])),authorize:{},mounted:function(){this.getSystemVideoList()},activated:function(){},created:function(){},watch:{},methods:{createVideo:function(e){e=e||{};this.jessibuca=new window.Jessibuca(Object.assign({container:this.$refs.container,videoBuffer:Number(6),
// 缓存时长
isResize:!1,useWCS:this.useWCS,useMSE:this.useMSE,text:"",loadingText:"疯狂加载中...",hasAudio:!0,debug:!1,supportDblclickFullscreen:!0,showBandwidth:this.showBandwidth,
// 显示网速
operateBtns:{fullscreen:this.showOperateBtns,screenshot:this.showOperateBtns,play:this.showOperateBtns,audio:this.showOperateBtns},vod:this.vod,forceNoOffscreen:!this.useOffscreen,isNotMute:!0,timeout:10},e))},handleCancel:function(){this.jessibuca&&this.jessibuca.destroy(),this.video_url="",this.PlayModel=!1},PlayModelShow:function(e){this.PlayModel=!0;var t=this;setTimeout((function(){t.createVideo(),t.video_url=t.MonibucaServer+"hdl/"+e.LiveSubSP+".flv",t.jessibuca.play(t.video_url)}),500)},getSystemVideoList:function(){var e=this;e.messageShowLoad=!0,e.videoList=[],Object(o.a)().then((function(t){if(0==t.data.code){e.MonibucaServer=t.data.MonibucaServer;for(var n=JSON.parse(t.data.data),r=0,o=0;o<n.length;o++)for(var a=0;a<n[o].Channels.length;a++){var i={};i.Manufacturer=n[o].Manufacturer,i.RegisterTime=c()(n[o].RegisterTime).format("yyyy-MM-DD HH:mm:ss"),i.UpdateTime=c()(n[o].UpdateTime).format("yyyy-MM-DD HH:mm:ss"),i.TableVideoIndex=r,i.Name=""==n[o].Channels[a].Name?n[o].Name:n[o].Channels[a].Name,i.Model=n[o].Channels[a].Model,i.Status=n[o].Channels[a].Status,i.LiveSubSP=n[o].ID+"/"+n[o].Channels[a].DeviceID,r++,e.videoList.push(i),i={}}}e.messageShowLoad=!1})).catch((function(t){e.messageShowLoad=!1}))},selectVideo:function(e,t,n){var r="";r=1==e?"webrtc://"+this.videoServer+"/webrtcstream/"+t:t,this.$emit("onSelectVideo",{type:e,key:t,url:r,name:n}),this.visible=!1}}}),u=(n("fa37"),n("2877")),d=Object(u.a)(s,(function(){var e=this,t=e._self._c;return t("a-card",[t("a-button",{attrs:{disabled:e.messageShowLoad,type:"default"},on:{click:function(t){return e.getSystemVideoList()}}},[e._v(" "+e._s(e.$t("configComponent.video.VideoRefresh"))+" ")]),t("div",{staticStyle:{"margin-top":"5px"}},[t("a-table",{attrs:{rowKey:"TableVideoIndex",pagination:e.pagination,columns:e.columns,"data-source":e.videoList},scopedSlots:e._u([{key:"Opt",fn:function(n,r){return t("div",{},[t("a",{staticStyle:{cursor:"pointer",color:"#13C2C2"},attrs:{type:"link"},on:{click:function(t){return e.PlayModelShow(r)}}},[t("a-icon",{attrs:{type:"youtube"}}),t("span",{staticStyle:{"margin-left":"2px"}},[e._v(e._s(e.$t("configComponent.video.Play")))])],1)])}}])},[e._l(e.columns,(function(n,r){return t("template",{slot:n.slotName},[t("span",{key:r},[e._v(e._s(e.$t(n.slotName)))])])}))],2)],1),t("a-modal",{attrs:{visible:e.PlayModel,title:e.$t("configComponent.video.VideoView"),footer:null,destroyOnClose:!0},on:{cancel:e.handleCancel}},[t("div",{staticClass:"root"},[t("div",{ref:"container",attrs:{id:"container"}})])])],1)}),[],!1,null,"645c15d1",null)
/* harmony default export */;t.default=d.exports},
/***/fa37:
/***/function(e,t,n){"use strict";
/* harmony import */n("ac87");
/* harmony import */}}]);