Repository navigation
Description
Proposal
Add a live broadcast mode to OpenDirector. A creator prepares a host persona, a rundown (the ordered list of segments), and media assets on the canvas. Once on air, the AI host speaks, appears on screen, and moves the show forward. Each broadcast has one position in the rundown and one programme feed shared by all viewers. Viewers can join at any time, and the producer can redirect the host while it is speaking. A book discussion, an interview, or a live class can all use this model. The host checks its generated performance and continuity while the show is running and can correct later output on its own. The producer can save a recorded segment back to the project for editing.
What a broadcast looks like
Consider a live book reading. The host opens the show, introduces the book, and reads an excerpt. It moves to the next segment even if nobody has posted a message. When a viewer asks “Why did you choose that passage?”, the host can answer and return to where it left off. If the producer says “Skip the second reading and wrap up,” the host switches to its closing remarks. A viewer joining at that point sees the closing remarks along with everyone else.
A live class follows the same pattern. The teacher is a host persona, the lesson plan is a rundown, and student questions are audience input. A teaching scenario can add a whiteboard, exercises, and learner progress records. A book reading can run with just its persona, rundown, and assets.
How this fits the existing video pipeline
Today the UI and creative assistant use generation.submit to submit a job with fixed inputs. For example, the vLLM-Omni adapter submits a video job, polls it, and downloads an MP4 that OpenDirector registers as an asset. Creators can use that pipeline before a broadcast to prepare an opening sequence or an insert. Once on air, the host needs a session that spans multiple segments, keeps audio and video flowing, accepts corrections, and tracks what has aired. Generation jobs · Video adapter
How the host checks and improves generation on air
The director evaluates two things independently throughout the show, even when nobody sends a new instruction. Action completion asks whether the host actually did or said what the rundown called for. Continuity asks whether the new segment still fits the same host, scene, and conversation. A host can successfully lift a book while a second copy inexplicably appears on the desk.
Observe while generating. Give each cue an observable outcome and enough time to complete. For “take a sip,” reaching for the cup is too early to judge. Inspect candidate frames and audio asynchronously so the director can intervene before airtime when the buffer allows. Confirm what aired from the programme output after cuts, overlays, and audio mixing. Check spoken cues against the emitted audio. Correlate evidence with programme time, segment, and rundown revision. Viewer playback reports describe delivery to those devices. When the relevant picture or audio is missing, or the check misses its deadline, record the outcome as unknown and keep the feed moving.
Check continuity at transitions and across the show. Compare each segment against the authored persona and required assets, the last verified on-air state (including what was said), and any changes the producer or rundown has authorised. A required book missing from the opening shot is an error to investigate. Check adjacent segments for abrupt changes, and compare a return from an insert with the last verified shot of the host. A close-up that hides the desk gives no evidence about how many books are on it. If the host visibly puts the book down, update its expected location. Track prop count and who holds the prop first. Appearance, voice, and narrative consistency each need their own evidence and evaluation.
Correct and verify. When there is enough evidence of a mismatch, change the generation instructions for the earliest request the generator can still modify. A generator may emit several media chunks after its instructions have locked. Preserve what was already correct: if the host is holding the right book, remove the extra copy from the desk and verify that the host still holds the original. Limit retries to the time available for the cue. A producer cut or new rundown revision invalidates stale checks and pending repairs. Count a repair as successful only when the corrected generated content is independently verified on the programme feed. Record cutaways, omitted material, and unresolved defects separately.
Proposed responsibilities
| Component | Responsibility |
|---|---|
| Producer console | Choose a persona, arrange segments, and cue project assets. Rehearse, go live, insert a segment, skip ahead, or end the show. The UI and the creative assistant use the same operations under the same permissions. |
| Broadcast session and host | Keep one session ID, one host state, and one rundown position per show. Decide what to say or do next using the persona, the show's goal, what has aired, and new input. Producer instructions can change the rundown. Audience messages retain their source and enter a queue the host can draw from. Keep public programme memory separate from personal records. |
| Programme output and distribution | The output maintains the broadcast clock and reports which audio and video entered the feed. The producer can preview independently. All viewers subscribe to the shared feed, so refreshing the console or buffering on one device leaves other viewers on air. An output acknowledgement establishes that content entered the feed. |
| Recording and editing | The producer opts in before recording. After the show, they can save a finalized, validated segment to the original project. A stable segment ID makes it safe to retry asset registration and canvas placement. The resulting clip can be trimmed and exported through the existing timeline. Asset registration |
Proposed first milestone
Run a closed pilot with a browser-based producer console, a lightweight avatar generator, and a separate viewer page. Starting a host session for each viewer would give each person a different rundown position and repeat generation work as the audience grows. A shared session lets the pilot test a complete show with one host. External broadcast platforms and GPU video models can follow once the pilot demonstrates shared playback, interruption handling, and the closed-loop checks below.
- Host a show without prompts. With no audience input, the book host delivers its opening and two segments, using at least one project asset.
- Share one broadcast. Two browsers join at different times and see the same current segment. The server runs one host instance. Refreshing the console or disconnecting one viewer leaves the other viewer watching.
- Handle audience input and producer direction. The host answers a selected audience message and returns to the rundown. When the producer skips a segment midstream, buffered audio and video from that segment stop at the transition. Verify with a spoken, generated response that the host actually follows the new direction.
- Correct a missed cue autonomously. Give the host a cue to sip from a cup. Include a run where it lifts the cup but never drinks. Without another producer or viewer instruction, detect the miss, change a subsequent generation request, and verify the sip in the aired footage. Include a successful first attempt to check for needless retries.
- Preserve continuity independently of the action. The host picks up the book before an insert. On return, introduce a duplicate on the desk. Score the pickup as successful, detect the duplicate, and verify that the repair preserves the book in the host’s hand. Also test a clean return, an authorised put-down, a close-up that hides the desk, and a producer cut while a repair is pending.
- Bring a segment back into the project. With recording enabled, save an aired segment. Repeating the save produces one asset. Trim it on the existing timeline and export it as an MP4.
- Run a class on the same runtime. Switch to a teacher persona and a lesson plan. Use the same operations to go live, take questions, direct the host, distribute the feed, and end the broadcast.
For both quality checks, compare matched runs with correction enabled and disabled. Have reviewers who do not know which mode ran annotate the programme recordings. Count every labelled defect, including misses. Report how many were repaired on air before the cue deadline, time to verified repair (median and p95), time spent on air with continuity drift, false corrections, unknowns, regressions introduced by a repair, and playback stalls. Fault injection with a lightweight generator exercises the control loop. Report semantic quality separately for each generator and check actually evaluated.
Questions for maintainers
- Should the first release deliver the programme through an OpenDirector-hosted viewer page or integrate with an existing broadcast tool? The proposed pilot uses the viewer page to test the full path.
- Should the rundown be an editable project document that creators can reopen and use as a template for future shows?
- Which layers should the first recording include: host audio and video, canvas assets cued during the show, and captions? The console should tell the producer what will be captured before recording starts.
Related discussions cover local video generation, speech synthesis, and speech recognition in #224, and model service capability checks in #340.
Activity
[-][RFC] 直播模式:让 AI 主播持续主持一场可互动、可导播的节目[/-][+][RFC] Live broadcast mode with an AI host, audience interaction, and producer controls[/+]