catalyst-api/catalyst: use common stream name PREFIX for detecting live vs VOD streams.
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 24
- Forks
- 16
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 1
Description
We currently have prefixes defined here:
https://github.com/livepeer/catalyst-api/blob/main/config/stream_names.go#L12
But we need to also use these prefixes in catalyst-node. For example:
https://github.com/livepeer/catalyst/pull/177
We should have a common source of truth so that we're not modifying code in two places for every change in PREFIX names.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with config/stream_names.go in catalyst-api and the usage shown in catalyst PR #177. Trace how the PREFIX values are defined and consumed in both projects, then identify a shared source of truth; the work is done when both components use the common names without duplicate definitions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, distributed-systems
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100