Update Live Asset
A live asset refers to a media content/video that is live-streamed through Gumlet. This endpoint allows user to update a live streaming asset.
Body
application/json
- Type: stringlive
_asset _id requiredGumlet live video asset id.
- Type: string Format: date-timestart
_at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: stringtitle
Your live stream asset title
Responses
- application/json
- application/json
- application/json
Request Example for post/video/live/assets/update
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.update({
live_asset_id: '',
});
console.log(liveStreamAsset);
{
"status": "created",
"stream_key": "68c6d4b8d2b638a10ef3e044",
"live_asset_id": "68c6d4b8d2b638a10ef3e043",
"live_video_source_id": "67e4ecea403562dbea654269",
"input": {
"resolution": [
"360p",
"480p",
"720p"
],
"title": "gumlet-stream-1-edited"
},
"stream_url": "rtmp://52.11.39.160:1935/app/68c6d4b8d2b638a10ef3e044",
"output": {
"playback_url": "https://stream.gumlet.io/67e4ecea403562dbea654269/68c6d4b8d2b638a10ef3e043/main.m3u8",
"recording_playback_url": "https://video.gumlet.io/6867815b6410daa283f85532/68c6d4b8d2b638a10ef3e045/main.m3u8",
"recording_dash_playback_url": "https://video.gumlet.io/6867815b6410daa283f85532/68c6d4b8d2b638a10ef3e045/main.mpd"
},
"vod_asset_id": "68c6d4b8d2b638a10ef3e045",
"created_at": 1757861049778,
"updated_at": 1757861101257
}
