import{c as h}from"./chunk-K6LRUFYU.js";import{$ as s,B as o,Nc as p,Xf as n,Y as a,bf as E}from"./chunk-QXV2GR6R.js";import{i as e}from"./chunk-JJ4RDTEF.js";var i=class i{constructor(r,t){e(this,"authHttp");e(this,"restExtractor");this.authHttp=r,this.restExtractor=t}goLive(r){return this.authHttp.post(i.BASE_VIDEO_LIVE_URL,r).pipe(o(t=>this.restExtractor.handleError(t)))}getVideoLive(r){return this.authHttp.get(i.BASE_VIDEO_LIVE_URL+r).pipe(o(t=>this.restExtractor.handleError(t)))}listSessions(r){return this.authHttp.get(i.BASE_VIDEO_LIVE_URL+r+"/sessions").pipe(o(t=>this.restExtractor.handleError(t)))}findLiveSessionFromVOD(r){return this.authHttp.get(h.BASE_VIDEO_URL+"/"+r+"/live-session").pipe(o(t=>this.restExtractor.handleError(t)))}updateLive(r,t){return this.authHttp.put(i.BASE_VIDEO_LIVE_URL+r,t).pipe(o(u=>this.restExtractor.handleError(u)))}};e(i,"BASE_VIDEO_LIVE_URL",E.apiUrl+"/api/v1/videos/live/"),e(i,"\u0275fac",function(t){return new(t||i)(s(p),s(n))}),e(i,"\u0275prov",a({token:i,factory:i.\u0275fac}));var c=i;export{c as a};
/**i18n:224bcada6943fe8b17ea60808c2d370cec9507c3bd670ebe71692d099a3befa1*/
//# sourceMappingURL=chunk-OMVYFFZP.js.map
