import{c as h}from"./chunk-57CV324B.js";import{C as i,Yc as p,Z as a,ba as s,fg as n,mf as E}from"./chunk-3MFSOWAK.js";import{i as o}from"./chunk-ASXIZBWV.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:a80de7963c3a1ee38e5afb7317b8dafa5dd6a0c8b3d465be96b90b317d6167e1*/
//# sourceMappingURL=chunk-OYHQIQG6.js.map
