import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.stream.delete("<id>");
// Handle the result
console.log(result);
}
run();
Copiar
Preguntar a la IA
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}
Streams
Eliminar transmisión
Eliminar una transmisión en vivo
DELETE
/
stream
/
{id}
TypeScript
Copiar
Preguntar a la IA
import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.stream.delete("<id>");
// Handle the result
console.log(result);
}
run();
Copiar
Preguntar a la IA
{
"errors": [
[
"id not provided",
"Account not found"
]
]
}