Docs: Add spec for RTSP backchannel audio (talk-to-camera) feature#3
Open
mretallack wants to merge 4 commits into
Open
Docs: Add spec for RTSP backchannel audio (talk-to-camera) feature#3mretallack wants to merge 4 commits into
mretallack wants to merge 4 commits into
Conversation
Owner
mretallack
commented
May 12, 2026
- requirements.md: User stories for push-to-talk, detection, codec selection
- design.md: Architecture with BackchannelClient, G711Encoder, BackchannelManager
- tasks.md: 10 implementation tasks in 3 phases
- requirements.md: User stories for push-to-talk, detection, codec selection - design.md: Architecture with BackchannelClient, G711Encoder, BackchannelManager - tasks.md: 10 implementation tasks in 3 phases
…t tests - Changed from push-to-talk to toggle (tap on/tap off) - Floating mic icon top-right, crossed-out when inactive - Auto-disable on app defocus (onPause) - Added testing strategy: unit tests with high coverage, integration test - Tests in same location as existing, run in CI
- G711Encoder: μ-law and A-law encoding for audio - RtpPacket: RTP packet construction with TCP interleaved framing - BackchannelClient: RTSP signaling (DESCRIBE/SETUP/PLAY/TEARDOWN) with Digest auth, SDP parsing for sendonly tracks, handles interleaved RTP frames during response reading - BackchannelManager: coordinates AudioRecord capture, encoding, and RTP sending on background thread - UI: floating mic button (top-right), toggle on/off, auto-stops on app defocus, mutes playback while mic active to prevent feedback - Uses VOICE_COMMUNICATION audio source for echo cancellation - 51 new unit tests, 1 integration test - RECORD_AUDIO permission added to manifest
- Mute VLC mediaPlayer volume immediately (not just on next play()) - Skip interleaved RTP frames when reading RTSP responses - Reuse auth nonce across DESCRIBE/SETUP/PLAY requests - Add VOICE_COMMUNICATION audio source for echo cancellation - Increase mic gain to 8x for audible output
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.