rokudev / samples

Collection of sample channels for side-loading on your Roku device
MIT License
445 stars 286 forks source link

how to detect #EXT-X-DISCONTINUITY tag in Roku #52

Open chaklasiyanikunj opened 2 years ago

chaklasiyanikunj commented 2 years ago

Is there any way to detect when players call the #EXT-X-DISCONTINUITY? I read the Whole Video node documentation. But not found anything. I see the streaming segment attributes for information about the video segment that is currently streaming. Is there any way to detect in Roku Video Player When Players call the #EXT-X-DISCONTINUITY?

m3u8 content

EXTM3U

EXT-X-PLAYLIST-TYPE:EVENT

EXT-X-VERSION:4

EXT-X-TARGETDURATION:3

EXT-X-MEDIA-SEQUENCE:0

EXTINF:8.341678,

file1.ts

EXTINF:8.441778,

file2.ts

EXTINF:8.341667,

file3.ts

EXTINF:8.938267,

file4.ts

EXT-X-DISCONTINUITY

EXTINF:4.221798,

Segs-115.ts

EXT-X-DISCONTINUITY

EXTINF:4.296875,

Segs-116.ts

EXT-X-DISCONTINUITY

EXTINF:4.314524,

Segs-117.ts

I want the information in Roku Player. when this tag #EXT-X-DISCONTINUITY comes.

Thank you