import{c as h}from"./chunk-SNLRONV5.js";import{C as i,Yc as p,Z as a,ba as s,dg as n,jf as E}from"./chunk-XD25PYOU.js";import{i as o}from"./chunk-FPVLB6PA.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:fc817608a00477e18624cf8be5badc6c9afae12f0946c7c1548c95cf79bd0e7b*/
//# sourceMappingURL=chunk-AZTITAZK.js.map
