Skip to content

Commit

Permalink
set selectedurl in connection check mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Mar 2, 2024
1 parent a30eec2 commit 80d077c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mp4_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func mp4Handler(w http.ResponseWriter, r *http.Request, db *sql.DB) {
for _, url := range stream.URLs {
resp, err = http.Get(url.Content)
if err == nil {
selectedUrl = &url
updateConcurrency(ctx, url.Content, true)
break
}
Expand Down

0 comments on commit 80d077c

Please sign in to comment.