Sposta overlay video sull'app Android e rimuove ffmpeg server-side.
Il tabellone stile SportCam e il watermark Match Live TV sono bruciati in GPU via RootEncoder; sul backend spariscono OverlayRelay, job Sidekiq e volume stream_overlays. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -12,21 +12,6 @@ module Mediamtx
|
||||
end
|
||||
end
|
||||
|
||||
def create_overlay_path(session)
|
||||
path = session.mediamtx_overlay_path_name
|
||||
body = {
|
||||
source: "publisher",
|
||||
overridePublisher: true,
|
||||
record: false
|
||||
}
|
||||
response = @conn.post("/v3/config/paths/add/#{CGI.escape(path)}", body)
|
||||
unless response.success?
|
||||
err = response.body.is_a?(Hash) ? response.body["error"] : response.body
|
||||
raise Error, "MediaMTX overlay path create failed: #{response.status} #{err}"
|
||||
end
|
||||
true
|
||||
end
|
||||
|
||||
def create_path(session)
|
||||
path = session.mediamtx_path_name
|
||||
# record: false finché non c'è publisher — con alwaysAvailable MediaMTX registrerebbe
|
||||
|
||||
Reference in New Issue
Block a user