livepeer / livepeer/studio

Feature Request: Signal Ending of a Live Session

Open
#710 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.