import{c as h}from"./chunk-NJ5QGAXC.js";import{C as e,Oc as p,Rf as n,Ye as E,Z as a,aa as s}from"./chunk-4JM6MIZ5.js";import{i as o}from"./chunk-QJQRWPYR.js";var i=class i{authHttp;restExtractor;constructor(r,t){this.authHttp=r,this.restExtractor=t}goLive(r){return this.authHttp.post(i.BASE_VIDEO_LIVE_URL,r).pipe(e(t=>this.restExtractor.handleError(t)))}getVideoLive(r){return this.authHttp.get(i.BASE_VIDEO_LIVE_URL+r).pipe(e(t=>this.restExtractor.handleError(t)))}listSessions(r){return this.authHttp.get(i.BASE_VIDEO_LIVE_URL+r+"/sessions").pipe(e(t=>this.restExtractor.handleError(t)))}findLiveSessionFromVOD(r){return this.authHttp.get(h.BASE_VIDEO_URL+"/"+r+"/live-session").pipe(e(t=>this.restExtractor.handleError(t)))}updateLive(r,t){return this.authHttp.put(i.BASE_VIDEO_LIVE_URL+r,t).pipe(e(u=>this.restExtractor.handleError(u)))}};o(i,"BASE_VIDEO_LIVE_URL",E.apiUrl+"/api/v1/videos/live/"),o(i,"\u0275fac",function(t){return new(t||i)(s(p),s(n))}),o(i,"\u0275prov",a({token:i,factory:i.\u0275fac}));var c=i;export{c as a};
/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*/
//# sourceMappingURL=chunk-4BLMQI55.js.map
