Skip to content

Restore Twitch VOD support in Simple output mode - #1802

Merged
summeroff merged 3 commits into
stagingfrom
fix-simple-twitch-vod
Oct 14, 2026
Merged

summeroff merged 3 commits into
stagingfrom
fix-simple-twitch-vod

Conversation

@aleksandr-voitenko

@aleksandr-voitenko aleksandr-voitenko commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Restore the missing Twitch VOD option in Simple output settings when Enable Advanced Encoder Settings is enabled and the built-in Twitch service is selected.

  • Use source audio track 2 for Simple VOD and request the same mixer for Enhanced Broadcasting.
  • Remove legacy Soundtrack routing that used track 6 and modified source mixer assignments.
  • Preserve Advanced mode’s configured VOD track.
  • Update API documentation and add regression coverage for settings persistence and decoded audio inclusion/exclusion.

Motivation and Context

Simple settings omitted VodTrackEnabled, while the streaming implementation still used Soundtrack’s internal track 6. This prevented users from enabling VOD through Simple settings and made audio routing inconsistent with Desktop’s track 2 controls.
Paired with the Desktop change, which initializes VOD routing and preserves source exclusions when saving Simple settings.

How Has This Been Tested?

Types of changes

  • Bug fix
  • Code cleanup
  • Documentation

@summeroff
summeroff requested a balanced review from Copilot October 13, 2026 23:02
@aleksandr-voitenko aleksandr-voitenko changed the title Restore Twitch VOD support in Simple output mode [WIP] Restore Twitch VOD support in Simple output mode Oct 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

NodeObs Enhanced Broadcasting still ignores the new Simple-mode setting and uses Advanced VOD configuration.

1 open finding
What changed in this PR

Restores Twitch VOD audio in Simple output mode using source track 2 while preserving mixer routing.

Changes:

  • Adds Simple and Enhanced Broadcasting VOD routing.
  • Exposes and persists the Simple Twitch VOD setting.
  • Expands RTMP audio decoding and routing tests.
File Description
tests/​osn-tests/​util/​rtmp-protocol.ts Extracts AAC payload data.
tests/​osn-tests/​util/​rtmp-assertions.ts Builds probeable ADTS audio.
tests/​osn-tests/​util/​README.md Documents VOD test behavior.
tests/​osn-tests/​src/​test_rtmp_test_server.ts Tests AAC payload extraction.
tests/​osn-tests/​src/​test_osn_streaming_vod.ts Tests routing and mixer preservation.
tests/​osn-tests/​src/​test_nodeobs_simple_vod_settings.ts Tests settings visibility and persistence.
obs-studio-server/​source/​osn-streaming.hpp Removes obsolete mixer state.
obs-studio-server/​source/​osn-simple-streaming.hpp Defines the fixed VOD mixer.
obs-studio-server/​source/​osn-simple-streaming.cpp Configures Simple VOD encoding.
obs-studio-server/​source/​osn-enhanced-broadcasting-simple-streaming.cpp Requests VOD audio for Enhanced Broadcasting.
obs-studio-server/​source/​nodeobs_settings.cpp Exposes the Simple VOD setting.
js/​module.ts Documents VOD routing semantics.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread obs-studio-server/source/nodeobs_settings.cpp Outdated
@aleksandr-voitenko aleksandr-voitenko changed the title [WIP] Restore Twitch VOD support in Simple output mode Restore Twitch VOD support in Simple output mode Oct 13, 2026
@summeroff
summeroff merged commit edb0d82 into staging Oct 14, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants