livepeer / livepeer/studio

`request-upload`API endpoint is not returning a response

Open
#1,126 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
88
Forks
37
PR merge metrics
No merged PRs in 30d

Description

API should respond to `request-upload`endpoint with:

```
{
"id": "4c21895e-2488-4c0a-9377-3369ff586ddd",
"hash": [
{
"hash": "6dad0a8e7a92d537c6305fe6ae1e1881",
"algorithm": "md5"
},
{
"hash": "6132f4e43472b56b4047b7ad018147056c0c2dba9306cd04504e9c8208e72257",
"algorithm": "sha256"
}
],
"name": "Waterfall",
"size": 32407849,
"status": "ready",
"userId": "eada599f-3d58-499b-ba24-c7f3faf988de",
"createdAt": 1652901725324,
"updatedAt": 1652901778931,
"videoSpec": {
"format": "mp4",
"tracks": [
{
"fps": 23.976023976023978,
"type": "video",
"codec": "h264",
"width": 4096,
"height": 2048,
"bitrate": 21324821,
"duration": 12.011667,
"pixelFormat": "yuv420p"
},
{
"type": "audio",
"codec": "aac",
"bitrate": 253375,
"channels": 2,
"duration": 12.031667,
"sampleRate": 48000
}
],
"duration": 12.031667
},
"playbackId": "4c21k7z2tjcdg8wt",
"playbackUrl": "https://livepeercdn.com/recordings/54aeff83-404c-490a-9afa-99296a932401/index.m3u8",
"downloadUrl": "https://livepeercdn.com/asset/4c21k7z2tjcdg8wt/video"
}

```

This is important mostly due to the availability of the playbackUrl param in the response, which the end user would use in their application to display the video. However, without a response, they couldn't get this URL.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the `request-upload` API endpoint and inspect why it returns no response. Confirm the endpoint returns the requested upload object, including `playbackUrl`, and verify the response can be used by the end user to display the video.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.