untangledco / streaming

Media streaming and broadcast systems in Go

Home Page:https://twitch.tv/untangledco

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

m3u8: split source files by m3u8 structure; master, media

ollytom opened this issue · comments

There's two distinct categories of playlists that we deal with: master and media playlists.
Having that be obvious in the code by having them as separate files would be clearer than what we've got now. Every time I work on something, I'm working on either master or media, but I always get lost when I try to find what I'm looking for.

2 files: master.go and m3u8.go. Types Rendition, Variant, SessionData, Key put into master.go.
Common types stay in m3u8.go.