import { Livepeer } from "livepeer";const livepeer = new Livepeer({ apiKey: "<YOUR_BEARER_TOKEN_HERE>",});async function run() { const result = await livepeer.multistream.create({ url: "rtmps://live.my-service.tv/channel/secretKey", }); // Handle the result console.log(result);}run();
import { Livepeer } from "livepeer";const livepeer = new Livepeer({ apiKey: "<YOUR_BEARER_TOKEN_HERE>",});async function run() { const result = await livepeer.multistream.create({ url: "rtmps://live.my-service.tv/channel/secretKey", }); // Handle the result console.log(result);}run();