Complete Live Stream
This endpoint allows marking live assets complete. Once the live asset is marked complete, it can no longer be used to ingest the live stream on Gumlet.
Path Parameters
- Type: stringlive
_asset _id requiredLive asset id of the live stream which needs to be completed.
Responses
- application/json
- application/json
Request Example for post/video/live/assets/{live_asset_id}/complete
import Gumlet from '@gumlet/nodejs-sdk';
const client = new Gumlet({
apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});
const liveStreamAsset = await client.liveStreamAssets.complete('liveAssetId');
console.log(liveStreamAsset);
{}
