Skip to content

frontend: Add Enhanced RTMP multitrack audio - #14066

Closed
illuspas wants to merge 1 commit into
obsproject:masterfrom
illuspas:frontend/multitrack-audio
Closed

illuspas wants to merge 1 commit into
obsproject:masterfrom
illuspas:frontend/multitrack-audio

Conversation

@illuspas

@illuspas illuspas commented Oct 22, 2026 •

Copy link
Copy Markdown

Description

Adds an option to stream multiple audio tracks to RTMP servers that support Enhanced RTMP. Tracks are selected with the existing track checkboxes of the advanced streaming output settings.

Unlike multitrack video, availability can not be queried from streaming services, so the option is only offered for custom RTMP services in the advanced output mode.

UI: Adds a "Multitrack Audio" group box to Settings > Stream (visible for custom RTMP services with advanced output mode) with an info label and an enable checkbox.

Motivation and Context

Enhanced RTMP supports multiple audio tracks in a single stream (e.g. for multiple languages or separate commentary feeds). OBS currently sends only a single audio track to RTMP servers. This adds opt-in multitrack audio for custom services whose servers support Enhanced RTMP multi-track audio.

How Has This Been Tested?

Streamed to a self-hosted Node-Media-Server v4.4.6 (latest) configured as a custom RTMP service. Playback with ffplay and VLC both detected the multiple audio tracks and allowed switching between tracks.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have read the contributing document.

  • My code has been run through clang-format.

  • My code follows the project's style guidelines

  • My code is not on the master branch.

  • My code has been tested.

  • All commit messages are properly formatted and commits squashed where appropriate.

  • I have included updates to all appropriate documentation.

  • I am an AI agent being used to assist with this pull request: OpenCode coding agent (GLM-5.3 by Z.ai) assisted with applying the author's existing patch to this fork, verifying style compliance (clang-format, Qt UI XML schema), and preparing the PR submission. All code changes were written by the PR author.

Add an option to send multiple audio tracks to RTMP servers that
support Enhanced RTMP. Tracks are selected with the existing track
checkboxes of the advanced streaming output settings.

Unlike multitrack video, availability can not be queried from
streaming services, so the option is only offered for custom
services. The VOD track is disabled while multitrack audio is
active, as it would clobber track index 1.
@illuspas illuspas closed this Oct 22, 2026
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.

1 participant