import { Livepeer } from "livepeer";const livepeer = new Livepeer({ apiKey: "<YOUR_BEARER_TOKEN_HERE>",});async function run() { const result = await livepeer.multistream.update({ url: "rtmps://live.my-service.tv/channel/secretKey", }, "<id>"); // Handle the result console.log(result);}run();
Copy
Ask AI
This response does not have an example.
Multistream target
Update a multistream
PATCH
/
multistream
/
target
/
{id}
TypeScript
Copy
Ask AI
import { Livepeer } from "livepeer";const livepeer = new Livepeer({ apiKey: "<YOUR_BEARER_TOKEN_HERE>",});async function run() { const result = await livepeer.multistream.update({ url: "rtmps://live.my-service.tv/channel/secretKey", }, "<id>"); // Handle the result console.log(result);}run();