Feature Request: Signal Ending of a Live Session
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
**What's the problem? (required)**
Currently, there is a hard-coded 5min timeout window for sessions. This means if a session is stopped, the user needs to wait for 5 mins before starting another session, otherwise the "new session" is considered a continuation of the previous session.
**What's the current behavior? (required)**
Have a way for the application to signal the ending of a session. Mux does it [this way](https://docs.mux.com/api-reference/video#operation/signal-live-stream-complete). This should have the side effect of making the recording available immediately.
**Describe a possible solution you've considered (optional)**
An alternative would be allowing the API user to specify the timeout window. But this doesn't directly address the issue of when an user wants to start a new session right after finishing the previous session.
Contributor guide
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
No files, tests, or entry points are identified. Start by locating the session and recording API behavior around the hard-coded five-minute timeout, then compare the desired signal with Mux's live-stream-complete behavior. Done means an application can explicitly end a session and its recording becomes available immediately, without waiting for the timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100