Skip to content

Commit

Permalink
Fix test fail. v5.8.20
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 18, 2023
1 parent b788e61 commit 817fb73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func initPlatform(ctx context.Context) error {
}

// Run only once for a special version.
bootRelease := "v27"
bootRelease := "v28"
if firstRun, err := rdb.HGet(ctx, SRS_FIRST_BOOT, bootRelease).Result(); err != nil && err != redis.Nil {
return errors.Wrapf(err, "hget %v %v", SRS_FIRST_BOOT, bootRelease)
} else if firstRun == "" {
Expand Down
2 changes: 1 addition & 1 deletion platform/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func srsGenerateConfig(ctx context.Context) error {
" enabled on;",
" hls_fragment 10;",
" hls_window 60;",
" hls_path ./objs/nginx/html/hls;",
" hls_path ./objs/nginx/html;",
" hls_m3u8_file [app]/[stream].m3u8;",
" hls_ts_file [app]/[stream]-[seq].ts;",
" hls_wait_keyframe on;",
Expand Down

0 comments on commit 817fb73

Please sign in to comment.