aws-samples / aws-samples/amazon-ivs-player-web-sample
How to read data from m3u8 file which is currently played by IVS WEB SDK v1.30.0
- Dominant language
- JavaScript
- Stars
- 90
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
I want to read/parse m3u8 file & extract some custom parameters from it.
Example:
```
#EXTM3U
#EXT-X-VERSION:9
#EXT-X-CHANGE_POSITION:"YES" //<<<<< I want to read this.
#EXT-X-TARGETDURATION:17
#EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-DISCONTINUITY
#EXTINF:8.333333,
fileSequence1.ts
#EXTINF:8.333333,
fileSequence2.ts
#EXTINF:8.333333,
fileSequence3.ts
```
Is there any way to read this using ivs web sdk..
Right now, I'm making another api call using fetch & manually parsing the m3u8 file.. but it causing 2 api calls..
I notice that hls.js provide m3u8 file. Can it be supported by IVS team?
Contributor guide
Research direction
Start by reviewing the IVS Web SDK v1.30.0 API and the hls.js behavior mentioned in the issue. Determine whether the currently played m3u8 and its custom tags can be exposed without a second fetch, then document the supported outcome or the SDK capability required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- audio-video-rtc, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100