feat: add inject start/stop commands for one-way audio injection#2082
Open
nickakt wants to merge 1 commit intosipwise:masterfrom
Open
feat: add inject start/stop commands for one-way audio injection#2082nickakt wants to merge 1 commit intosipwise:masterfrom
nickakt wants to merge 1 commit intosipwise:masterfrom
Conversation
New NG protocol commands that mix audio from a source participant into a destination participant's stream without a full offer/answer exchange. - inject start: creates one-way subscription with audio_player mixing - inject stop: removes injection and restores original codec routing - Supports cross-call injection via source-call-id (merges calls internally) - inject attribute persisted through Redis for HA failover - Audio-only; matches media by media-id, index, then type fallback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
inject start/inject stopNG protocol commandssource-call-id(calls are merged internally)injectsubscription attribute persisted through Redis for HA failoverProtocol
Files changed
daemon/call.c—monologue_inject_start/monologue_inject_stopimplementationdaemon/call_interfaces.c— NG command handlersdaemon/control_ng.c— command dispatchdaemon/redis.c—injectflag persistenceinclude/— declarations and opmode enumdocs/ng_control_protocol.md— documentation