import{c as h}from"./chunk-D7MA7JVY.js";import{B as i,Wc as p,Y as a,aa as s,jg as n,lf as E}from"./chunk-7XZKA4JV.js";import{i as o}from"./chunk-ROL33JP2.js";var t=class t{authHttp=s(p);restExtractor=s(n);goLive(e){return this.authHttp.post(t.BASE_VIDEO_LIVE_URL,e).pipe(i(r=>this.restExtractor.handleError(r)))}getVideoLive(e){return this.authHttp.get(t.BASE_VIDEO_LIVE_URL+e).pipe(i(r=>this.restExtractor.handleError(r)))}listSessions(e){return this.authHttp.get(t.BASE_VIDEO_LIVE_URL+e+"/sessions").pipe(i(r=>this.restExtractor.handleError(r)))}findLiveSessionFromVOD(e){return this.authHttp.get(h.BASE_VIDEO_URL+"/"+e+"/live-session").pipe(i(r=>this.restExtractor.handleError(r)))}updateLive(e,r){return this.authHttp.put(t.BASE_VIDEO_LIVE_URL+e,r).pipe(i(m=>this.restExtractor.handleError(m)))}};o(t,"BASE_VIDEO_LIVE_URL",E.apiUrl+"/api/v1/videos/live/"),o(t,"\u0275fac",function(r){return new(r||t)}),o(t,"\u0275prov",a({token:t,factory:t.\u0275fac}));var c=t;export{c as a};
/**i18n:37786acc6a78281d9fbe29f0e76f79a0df01fc58cd74a91d2d29106b1f1580b1*/
//# sourceMappingURL=chunk-E5OMHVET.js.map
