import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.stream.removeMultistreamTarget("<id>", "<id>");
// Handle the result
console.log(result);
}
run();{
"errors": [
[
"id not provided",
"Account not found"
]
]
}从直播中移除多流传输目标
import { Livepeer } from "livepeer";
const livepeer = new Livepeer({
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await livepeer.stream.removeMultistreamTarget("<id>", "<id>");
// Handle the result
console.log(result);
}
run();{
"errors": [
[
"id not provided",
"Account not found"
]
]
}此页面对您有帮助吗?