{ "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "staticMp4": "boolean", "c2pa": "boolean", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": { "type": "public", "webhookId": "3e02c844-d364-4d48-b401-24b2773b5d6c", "webhookContext": { "foo": "bar" } }, "source": { "type": "url", "url": "https://example.com/video.mp4", "gatewayUrl": "https://example.com/video.mp4" }, "creatorId": "object", "storage": { "ipfs": { "spec": { "nftMetadataTemplate": "file", "nftMetadata": { "name": "My NFT", "description": "My NFT description" } } } }, "status": { "phase": "ready", "updatedAt": 1587667174725, "progress": 100 }, "name": "filename.mp4", "createdAt": 1587667174725, "size": 84934509, "hash": [ { "hash": "9b560b28b85378a5004117539196ab24e21bbd75b0e9eb1a8bc7c5fd80dc5b57", "algorithm": "sha256" } ], "videoSpec": { "format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": [ { "type": "video", "codec": "h264", "startTime": 0, "duration": 23.8328, "bitrate": 1000000, "width": 1920, "height": 1080, "pixelFormat": "yuv420p", "fps": 30 }, { "type": "audio", "codec": "aac", "startTime": 0, "duration": 23.8328, "bitrate": 1000000, "channels": 2, "sampleRate": 44100, "bitDepth": 16 } ] } }
The Assets API is used to create, retrieve, update, delete assets object from pipeline.
Was this page helpful?