I nodi cloud restano in provisioning finché :9997 risponde; retry su create_path e 503 retryable se l’ingest è ancora irraggiungibile. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
372 B
Ruby
14 lines
372 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Streams
|
|
# Ingest MediaMTX non raggiungibile (es. CPX ancora in bootstrap). API → 503 retryable.
|
|
class IngestUnavailableError < StandardError
|
|
attr_reader :code
|
|
|
|
def initialize(message = "Ingest temporaneamente non disponibile", code: "stream_ingest_unavailable")
|
|
super(message)
|
|
@code = code
|
|
end
|
|
end
|
|
end
|