Stabilizza live YouTube/RTMP e fix crash rotazione mobile.
Pipeline YouTube con relay, overlay e publisher sync lato backend; fix GL pauseGlDuringRotation su Android per evitare crash in rotazione durante lo streaming Flutter. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -12,7 +12,9 @@ Rails.application.configure do
|
||||
config.force_ssl = true
|
||||
config.ssl_options = {
|
||||
redirect: {
|
||||
exclude: ->(request) { request.path == "/up" || request.path == "/cable" }
|
||||
exclude: ->(request) {
|
||||
request.path == "/up" || request.path == "/cable" || request.path.start_with?("/hls/")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +33,9 @@ Rails.application.configure do
|
||||
config.hosts = allowed_hosts if allowed_hosts.any?
|
||||
|
||||
config.host_authorization = {
|
||||
exclude: ->(request) { request.path == "/up" || request.path.start_with?("/cable") }
|
||||
exclude: ->(request) {
|
||||
request.path == "/up" || request.path.start_with?("/cable") || request.path.start_with?("/hls/")
|
||||
}
|
||||
}
|
||||
|
||||
config.logger = ActiveSupport::Logger.new(STDOUT)
|
||||
|
||||
@@ -2,6 +2,10 @@ require "sidekiq/api"
|
||||
|
||||
Sidekiq.configure_server do |config|
|
||||
config.redis = { url: ENV.fetch("REDIS_URL", "redis://localhost:6379/0") }
|
||||
|
||||
config.on(:startup) do
|
||||
StreamPublisherSyncJob.ensure_chain
|
||||
end
|
||||
end
|
||||
|
||||
Sidekiq.configure_client do |config|
|
||||
|
||||
Reference in New Issue
Block a user