starter

package
v0.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BroadcasterRpcPort  = "9935"
	BroadcasterCliPort  = "5935"
	BroadcasterRtmpPort = "1935"
	OrchestratorRpcPort = "8935"
	OrchestratorCliPort = "7935"
	TranscoderCliPort   = "6935"

	RefreshPerfScoreInterval = 10 * time.Minute
)

Variables

This section is empty.

Functions

func StartLivepeer

func StartLivepeer(ctx context.Context, cfg LivepeerConfig)

Types

type GatewayPrice added in v0.7.6

type GatewayPrice struct {
	EthAddress    string
	PricePerUnit  *big.Rat
	Currency      string
	PixelsPerUnit *big.Rat
}

type LivepeerConfig

type LivepeerConfig struct {
	Network                 *string
	RtmpAddr                *string
	CliAddr                 *string
	HttpAddr                *string
	ServiceAddr             *string
	OrchAddr                *string
	VerifierURL             *string
	EthController           *string
	VerifierPath            *string
	LocalVerify             *bool
	HttpIngest              *bool
	Orchestrator            *bool
	Transcoder              *bool
	Gateway                 *bool
	Broadcaster             *bool
	OrchSecret              *string
	TranscodingOptions      *string
	MaxAttempts             *int
	SelectRandWeight        *float64
	SelectStakeWeight       *float64
	SelectPriceWeight       *float64
	SelectPriceExpFactor    *float64
	OrchPerfStatsURL        *string
	Region                  *string
	MaxPricePerUnit         *string
	IgnoreMaxPriceIfNeeded  *bool
	MinPerfScore            *float64
	MaxSessions             *string
	CurrentManifest         *bool
	Nvidia                  *string
	Netint                  *string
	HevcDecoding            *bool
	TestTranscoder          *bool
	EthAcctAddr             *string
	EthPassword             *string
	EthKeystorePath         *string
	EthOrchAddr             *string
	EthUrl                  *string
	TxTimeout               *time.Duration
	MaxTxReplacements       *int
	GasLimit                *int
	MinGasPrice             *int64
	MaxGasPrice             *int
	InitializeRound         *bool
	InitializeRoundMaxDelay *time.Duration
	TicketEV                *string
	MaxFaceValue            *string
	MaxTicketEV             *string
	MaxTotalEV              *string
	DepositMultiplier       *int
	PricePerUnit            *string
	PixelsPerUnit           *string
	PriceFeedAddr           *string
	AutoAdjustPrice         *bool
	PricePerGateway         *string
	PricePerBroadcaster     *string
	BlockPollingInterval    *int
	Redeemer                *bool
	RedeemerAddr            *string
	Reward                  *bool
	Monitor                 *bool
	MetricsPerStream        *bool
	MetricsExposeClientIP   *bool
	MetadataQueueUri        *string
	MetadataAmqpExchange    *string
	MetadataPublishTimeout  *time.Duration
	Datadir                 *string
	Objectstore             *string
	Recordstore             *string
	FVfailGsBucket          *string
	FVfailGsKey             *string
	AuthWebhookURL          *string
	OrchWebhookURL          *string
	OrchBlacklist           *string
	OrchMinLivepeerVersion  *string
	TestOrchAvail           *bool
}

func DefaultLivepeerConfig

func DefaultLivepeerConfig() LivepeerConfig

DefaultLivepeerConfig creates LivepeerConfig exactly the same as when no flags are passed to the livepeer process.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL