HLS su edge e monitoraggio ops con latenza p95.
Evita di saturare Puma in diretta, separa i check Rails/pubblico e traccia la latenza /up per alert più affidabili. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -153,8 +153,8 @@ module Streams
|
||||
end
|
||||
|
||||
path = session.mediamtx_path_name
|
||||
rails = ENV.fetch("RAILS_INTERNAL_URL", "http://rails:3000")
|
||||
[:hls, "#{rails.chomp('/')}/hls/#{path}/index.m3u8"]
|
||||
hls = ENV.fetch("MEDIAMTX_HLS_URL", "http://mediamtx:8888").chomp("/")
|
||||
[:hls, "#{hls}/#{path}/index.m3u8"]
|
||||
end
|
||||
|
||||
def intake_available?(session)
|
||||
|
||||
Reference in New Issue
Block a user