import{c as h}from"./chunk-TEWEKZE4.js";import{B as i,Wc as p,Y as a,aa as s,jg as n,lf as E}from"./chunk-WOSO3QBJ.js";import{i as o}from"./chunk-C2HMJUB7.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:b44b17e72e4b9ae03afb92709eafda64a985c0c8f0453c865708cceafe42f927*/
//# sourceMappingURL=chunk-SFGJKAZI.js.map
