import{c as h}from"./chunk-7ROHYKX4.js";import{B as i,Xc as p,Y as a,aa as s,mh as n,ng as E}from"./chunk-IDYB4NXF.js";import{i as o}from"./chunk-AI7IVZV2.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:1cf7c077143c4c267fdafbe5508f191afcef21bad6aba22a3a8dc180e1003753*/
//# sourceMappingURL=chunk-IHTTJGQ3.js.map
