Add HLS VOD support

This commit is contained in:
marmei
2019-08-05 12:28:47 +02:00
parent c389b990b4
commit 2a06bf6b01
6 changed files with 54 additions and 45 deletions

View File

@@ -68,12 +68,13 @@ type ThisStream struct {
// Segment : URL Segmente (HLS / M3U8)
type Segment struct {
Duration float64
Info bool
Sequence int64
URL string
Version int
Wait float64
Duration float64
Info bool
PlaylistType string
Sequence int64
URL string
Version int
Wait float64
StreamInf struct {
AverageBandwidth int