videogular / videogular2

The HTML5 video player for Angular 2
https://videogular.github.io/videogular2-showroom/#/
MIT License
672 stars 211 forks source link

How can I change the HLS config? (IHLSConfig) #882

Open nesnes opened 4 years ago

nesnes commented 4 years ago

Description

In my application, I need to change the startPosition of my HLS stream. This setting is available in HLS.js and listed in the following file but I do not find how to update it from the VgAPI or elsewhere.

https://github.com/videogular/videogular2/blob/master/src/streaming/vg-hls/hls-config.ts#L13

Expected Behavior

Be able to access and edit the default IHLSConfig (before or after setting the video source) Notice that I have multiple players on the same page requiring different HLS configurations.

Actual Behavior

Not access seems to be available.