Skip to content

Add an Opus encode path to the source role - #116

Draft
chrisuthe wants to merge 1 commit into
source-role/04-wire-testsfrom
source-role/05-opus
Draft

Add an Opus encode path to the source role#116
chrisuthe wants to merge 1 commit into
source-role/04-wire-testsfrom
source-role/05-opus

Conversation

@chrisuthe

Copy link
Copy Markdown
Member

Part 5/6 of the source@v1 stack (tracker: #95).

What it adds: an Opus encode path for the source role via micro-opus (already a dependency — its encoder is compiled in): one RFC 6716 packet per chunk, encoder lookahead reflected in the chunk timestamps, fail-closed validation of opus-legal rates/frame durations, and codec linking gated on player OR source.

How it's used: set codec = OPUS (plus bitrate/complexity) in SourceRoleConfig; everything else is unchanged. Verified by encode→decode round-trip tests against the library's own decoder.

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