Open vinodkumar898 opened 4 years ago
this.vgAPI.getDefaultMedia() .subscriptions .error .subscribe( (error) => { console.log(error); }); This doesn't seem to work
Even tried with this snippet below
onPlayerReady(api: VgAPI) { this.api = api; this.vgHls.hls.on(Hls.Events.ERROR, () => { console.log('error'); }); }
error shows Hls is undefined
this.vgAPI.getDefaultMedia() .subscriptions .error .subscribe( (error) => { console.log(error); }); This doesn't seem to work
Even tried with this snippet below
onPlayerReady(api: VgAPI) { this.api = api; this.vgHls.hls.on(Hls.Events.ERROR, () => { console.log('error'); }); }
error shows Hls is undefined