Skip to content

Commit

Permalink
Refine HLS LL configuration. v5.13.8
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jan 8, 2024
1 parent 36b4c07 commit d175d78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,8 @@ The following are the update records for the SRS Stack server.
* Transcript: Check the base url for OpenAI. [v5.12.17](https://github.com/ossrs/srs-stack/releases/tag/v5.12.17)
* HLS: Support low latency mode about 5s. v5.12.18
* RTSP: Rebuild the URL with escaped user info. v5.12.19
* VLive: Fix rebuild URL bug. [v5.12.20](https://github.com/ossrs/srs-stack/releases/tag/v5.12.20)
* VLive: Fix rebuild URL bug. v5.12.20
* HLS: Fix LL HLS setting bug. [v5.12.21](https://github.com/ossrs/srs-stack/releases/tag/v5.12.21)
* v5.11
* VLive: Decrease the latency for virtual live. v5.11.1
* Live: Refine multiple language. v5.11.2
Expand Down
4 changes: 2 additions & 2 deletions platform/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ func srsGenerateConfig(ctx context.Context) error {
} else {
hlsConf = append(hlsConf, []string{
" hls_fragment 2;",
" hls_window 12;",
" hls_window 16;",
}...)
}
}
Expand All @@ -487,7 +487,7 @@ func srsGenerateConfig(ctx context.Context) error {
" hls_m3u8_file [app]/[stream].m3u8;",
" hls_ts_file [app]/[stream]-[seq]-[timestamp].ts;",
" hls_wait_keyframe on;",
" hls_dispose 10;",
" hls_dispose 15;",
}...)
if noHlsCtx, err := rdb.HGet(ctx, SRS_HP_HLS, "noHlsCtx").Result(); err != nil && err != redis.Nil {
return errors.Wrapf(err, "hget %v hls", SRS_HP_HLS)
Expand Down

0 comments on commit d175d78

Please sign in to comment.