var l=Object.defineProperty;var u=(a,e,r)=>e in a?l(a,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[e]=r;var c=(a,e,r)=>(u(a,typeof e!="symbol"?e+"":e,r),r);import{m as p,C as _,R as f,e as d}from"./index-7a0f6c6e.js";import{C as v}from"./camera-987eaf29.js";var C=Object.defineProperty,h=Object.getOwnPropertyDescriptor,n=(a,e,r,s)=>{for(var t=s>1?void 0:s?h(e,r):e,m=a.length-1,i;m>=0;m--)(i=a[m])&&(t=(s?i(e,r,t):i(t))||t);return s&&t&&C(e,r,t),t};let o=class extends p(v){constructor(){super(...arguments);c(this,"cameraVideo");c(this,"cameraVideoSource","")}startPlayback(){const r=this.buildAbsoluteUrl(this.camera.urlStream||"").toString();this.cameraVideoSource=r,this.$emit("raw-camera-url",r)}stopPlayback(){this.cameraVideoSource="",this.cameraVideo.src=""}};n([f("streamingElement")],o.prototype,"cameraVideo",2);o=n([_({})],o);var P=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("video",{ref:"streamingElement",style:e.cameraStyle,attrs:{src:e.cameraVideoSource,autoplay:"",muted:"",crossorigin:e.crossorigin},domProps:{muted:!0}})},y=[],S=d(o,P,y,!1,null,null,null,null);const O=S.exports;export{O as default};
