package
0.8.3
Repository: https://github.com/livepeer/go-livepeer.git
Documentation: pkg.go.dev

# Functions

CalculateAudioToTextLatencyScore computes the time taken per second of audio for an audio-to-text request.
CalculateImageToImageLatencyScore computes the time taken per pixel for an image-to-image request.
No description provided by the author
CalculateImageToVideoLatencyScore computes the time taken per pixel for an image-to-video request.
No description provided by the author
CalculateSegmentAnything2LatencyScore computes the time taken per pixel for a segment-anything-2 request.
CalculateTextToImageLatencyScore computes the time taken per pixel for an text-to-image request.
CalculateTextToSpeechLatencyScore computes the time taken per character for a TextToSpeech request.
CalculateUpscaleLatencyScore computes the time taken per pixel for an upscale request.
CheckOrchestratorAvailability - the broadcaster calls CheckOrchestratorAvailability which invokes Ping on the orchestrator.
EndTranscodingSession - the broadcaster calls EndTranscodingSession to tear down sessions used for verification only once.
GetOrchestratorInfo - the broadcaster calls GetOrchestratorInfo which invokes GetOrchestrator on the orchestrator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMinLSSelector returns an instance of MinLSSelector configured with a good enough latency score.
NewRedeemer creates a new ticket redemption service instance.
NewRedeemerClient instantiates a new client for the ticket redemption service The client implements the pm.SenderMonitor interface.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RunAIWorker is main routing of standalone aiworker Exiting it will terminate executable.
RunTranscoder is main routing of standalone transcoder Exiting it will terminate executable.
XXX do something about the implicit start of the http mux? this smells.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
CreditSpent indicates that the update's credit has been spent but the debit has not been processed yet.
No description provided by the author
No description provided by the author
12 hrs assuming 1s segment.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReceivedChange indicates that the update's credit has been spent and a debit was processed such that there was "change" (net of credit/debit).
No description provided by the author
No description provided by the author
No description provided by the author
Staged indicates that the update has been created but the credit has not been spent yet.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
3GB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
test carefully!.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Contains the configuration parameters for this AI job.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BalanceUpdate describes an update to be performed on the balance of a session.
No description provided by the author
BroadcastSession - session-specific state for broadcasters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MinLSSelector selects the next BroadcastSession with the lowest latency score if it is good enough.
No description provided by the author
ReceivedTranscodeResult contains received transcode result data and related metadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Detect 'slow' orchs by keeping track of in-flight segments Count the difference between segments produced and segments completed.
No description provided by the author
No description provided by the author

# Interfaces

Balance describes methods for a session's balance maintenance.
No description provided by the author
BroadcastSessionsSelector selects the next BroadcastSession to use.
No description provided by the author
LivePaymentReceiver is used in Orchestrator to account for each processed segment.
LivePaymentSender is used in Gateway to send payment to Orchestrator.
No description provided by the author

# Type aliases

BalanceUpdateStatus indicates the current status of a balance update.
No description provided by the author
No description provided by the author
No description provided by the author
LIFOSelector selects the next BroadcastSession in LIFO order now used only in tests.