Si vous voulez simplement un passerelle vidéo fonctionnelle, utilisez la commande ci-dessous :
Off-Chain
On-Chain
Replace with your locally running orchestrator http address.
Off-Chain Video Gateway
Copier
Demander à l'IA
livepeer -gateway \ -network offchain \ # Minimum required video flags -rtmpAddr=0.0.0.0:1935 \ -httpAddr=0.0.0.0:8935 \ -transcodingOptions=P240p30fps16x9,P360p30fps16x9 \ # You will need to add your local orchestrator address if you are running off-chain -orchAddr=<ORCHESTRATOR_ADDRESSES> #comma separated list of orchestrator addresses # Example: -orchAddr=http://192.168.1.100:8935,http://192.168.1.101:8935 # You can also use a JSON file: -orchAddr=/path/to/orchestrators/orchestrators-portal.json
Replace with publicly available orchestrator addresses.
On-Chain Video Gateway
Copier
Demander à l'IA
livepeer -gateway \ -network arbitrum-one-mainnet \ # See the on-chain setup guide for more details on these flags -ethUrl=<YOUR_RPC_URL> \ -ethAcctAddr=<YOUR_ETH_ADDRESS> \ -ethPassword=<YOUR_PASSWORD> \ -ethKeystorePath=<KEYSTORE_PATH> \ # Minimum required video flags -rtmpAddr=0.0.0.0:1935 \ -httpAddr=0.0.0.0:8935 \ -transcodingOptions=P240p30fps16x9,P360p30fps16x9 \ # Price per unit is required on-chain (see pricing guide) -maxPricePerUnit=1000 \ # You will need to connect to a public orchestrator if you are running onchain -orchAddr=<ORCHESTRATOR_ADDRESSES> #comma separated list of orchestrators # Example: -orchAddr=https://orch1.example.com:8935,https://orch2.example.com:8935 # You can also use a JSON file: -orchAddr=/path/to/orchestrators/orchestrators-portal.json
Livepeer does not currently maintain a list of publicly available Orchestrators. You need to discover them through:
Livepeer CLI: Use livepeer_cli → Option 9: “List registered orchestrators”
Network discovery: The gateway discovers orchestrators from the on-chain registry
Community resources: Check Livepeer community channels or documentation
Jump to the Connect Guide for details on connecting to orchestrators.
OVERVIEW
Passerelles pour la transcodage vidéo Dans le transcodage vidéo traditionnel, le Gateway ingère les flux vidéo viaRTMP ouHTTP, segments
them, and distributes transcoding work to Orchestrators
Livepeer prend en charge les fichiers de configuration JSON pour les options de transcodage via le -transcodingOptions drapeau.Le fichier transcodingOptions.json vous permet de contrôler précisément l’échelle de codage.Ce fichier est un fichier de configuration personnalisé contenant un tableau d’objets de rendu qui définit quels rendus (résolutions + débits) votre Gateway produira pour chaque flux entrant.Il remplace l’échelle intégrée par défaut (par exemple, P240p30fps16x9, etc.).
Create the transcodingOptions.json file using the above template.Open notepad (or your text editor of choice) paste the template above and save
the transcodingOptions.json file in the following location.In Windows, %USERNAME% is already a built-in environment variable
-> You can use it directly.