livepeer / studio

Livepeer Studio is your home for building, broadcasting, and publishing video on the open internet with the Livepeer Network. Effortlessly manage livestreams, video uploads, API keys, network usage, billing, and more.
https://livepeer.studio
MIT License
74 stars 33 forks source link

Pass through ipfs:// URLs to Catalyst API #1580

Closed thomshutt closed 1 year ago

thomshutt commented 1 year ago

What's the problem? (required) Studio currently chooses an IPFS HTTP gateway for any uploads of ipfs:// URLs and passes this into Catalyst API. This conversion should be handled natively in Catalyst API as per https://github.com/livepeer/catalyst-api/issues/141

What's the current behavior? (required) Currently, conversion happens in https://github.com/livepeer/task-runner/blob/main/task/upload.go#L180

Additional context (optional) This change should not happen until https://github.com/livepeer/catalyst-api/issues/141 is complete, tested and deployed.

thomshutt commented 1 year ago

Migration can be done in one go, but we still have logic in Studio that does its own IPFS download and this should be removed in a future ticket.