Skip to content

Commit

Permalink
add VideoKeyframes for master playlist. #26
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Dec 3, 2021
1 parent c17f292 commit 8e434e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/api/hlsvod.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ func (a *ApiManagerCtx) HlsVod(r chi.Router) {
// serve master profile
if hlsResource == "index.m3u8" {
data, err := hlsvod.New(hlsvod.Config{
MediaPath: vodMediaPath,
MediaPath: vodMediaPath,
VideoKeyframes: a.config.Vod.VideoKeyframes,

Cache: a.config.Vod.Cache,
CacheDir: a.config.Vod.CacheDir,
Expand Down

0 comments on commit 8e434e6

Please sign in to comment.