Fix HLS browser in prod e stabilizza broadcast RTMP su iOS.
Il proxy Rails gestisce il redirect MediaMTX su /live/match_* e riscrive le playlist; edge nginx reindirizza /live/ sotto /hls/. Su iOS, SessionBuilder HaishinKit, pipeline mixer corretta e refresh token. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -13,7 +13,8 @@ Rails.application.configure do
|
||||
config.ssl_options = {
|
||||
redirect: {
|
||||
exclude: ->(request) {
|
||||
request.path == "/up" || request.path == "/up/deep" || request.path == "/cable" || request.path.start_with?("/hls/")
|
||||
request.path == "/up" || request.path == "/up/deep" || request.path == "/cable" ||
|
||||
request.path.start_with?("/hls/") || request.path.match?(%r{\A/live/match_[0-9a-f-]{36}/}i)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,7 +35,8 @@ Rails.application.configure do
|
||||
|
||||
config.host_authorization = {
|
||||
exclude: ->(request) {
|
||||
request.path == "/up" || request.path == "/up/deep" || request.path.start_with?("/cable") || request.path.start_with?("/hls/")
|
||||
request.path == "/up" || request.path == "/up/deep" || request.path.start_with?("/cable") ||
|
||||
request.path.start_with?("/hls/") || request.path.match?(%r{\A/live/match_[0-9a-f-]{36}/}i)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user