Si solo quieres una pasarela de video funcional, usa el siguiente comando:
Off-Chain
On-Chain
Replace with your locally running orchestrator http address.
Off-Chain Video Gateway
Copiar
Preguntar a la 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
Copiar
Preguntar a la 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
Pasarelas para codificación de video En la codificación de video tradicional, la pasarela ingiere flujos de video a través deRTMP oHTTP, segmentos
ellos y distribuye el trabajo de transcodificación a los Orchestrators
Livepeer admite archivos de configuración JSON para opciones de transcodificación a través de la -transcodingOptions bandera.El archivo transcodingOptions.json le permite controlar con precisión la escalera de codificación.Este archivo es un archivo de configuración personalizado que contiene una matriz de objetos de reproducción que define qué reproducciones (resoluciones + tasas de bits)
su Gateway producirá para cada transmisión entrante.Sustituye la escalera integrada predeterminada (por ejemplo, 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.