Repository navigation
Conversation
Mark missing packets, request retransmission on the control UDP port, and reopen stateful codecs after give-up; keep presentation across track TEARDOWN and buffer AUs until the browser /audio socket is ready. Also run CI on release/** PRs. Co-authored-by: Cursor <cursoragent@cursor.com>
Owner
Author
CI note: Ubuntu GST HLS is red on clean
|
Force audio-sink=fakesink under airplay.gst.hls.headless (same as mirror appsink CI) so pulse/autoaudiosink cannot block preroll, and trust wall clock after first picture or 1s PLAYING when playbin3 never exposes POSITION. Co-authored-by: Cursor <cursoragent@cursor.com>
Wire control-port 0x56 replies into the RTP reorder buffer, share RTP parse with the data decoder, and remove the no-op afterAudioTeardown KEEP path that never ended presentation. Co-authored-by: Cursor <cursoragent@cursor.com>
Parse seq/rtptime, re-anchor the reorder window at seq, drop packets before rtptime, and keep a pending filter so late pre-flush datagrams cannot re-enter the timeline. Co-authored-by: Cursor <cursoragent@cursor.com>
Derive the missing-packet deadline from stream latency minus a 250 ms tail margin (default ~2 s lead), stop useless late resends, and only re-init codecs when eight or more packets are skipped. Co-authored-by: Cursor <cursoragent@cursor.com>
Point tray/README/funding at a new Payment Link; the old €1-min link is deactivated so card-testing probes cannot keep using it. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Live Kali capture showed socket drops (d172) and pulsesink underruns with prebuf=0 while RTP seq was intact — WiFi bursts hit a 8-buffer leaky queue. Co-authored-by: Cursor <cursoragent@cursor.com>
Mirror was inheriting the Music 2s buffered appsrc, and the old Music session UDP ports stayed open — sounded like ~0.25×. Split queue/live settings by codec and tear down foreign audio servers on SETUP. Co-authored-by: Cursor <cursoragent@cursor.com>
Resend requests only help with multi-second playout delay; leave the code and tests, default them off, skip holes after a short reorder window, and restore leaky live GST appsrc/queues. Co-authored-by: Cursor <cursoragent@cursor.com>
Live give-up is shorter than the first resend check, so dueResends stays empty unless the buffered-resend path is explicitly on. Co-authored-by: Cursor <cursoragent@cursor.com>
Port the local WIP cover path (SET_PARAMETER → Playback → MSE /artwork) onto fix/audio-rtp-resend without regressing live low-latency audio / foreign-session cleanup. Co-authored-by: Cursor <cursoragent@cursor.com>
Cover is still accepted from RTSP and held/served at GET /artwork, but the page no longer draws a Now Playing image. Co-authored-by: Cursor <cursoragent@cursor.com>
Drop unused resend request/reply code and keep a short reorder window that skips holes. Centralize foreign/session audio stop and express audio-only idle end through PresentationEndPolicy. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep audio/control UDP shutdown consistent with foreign-session and control-drop cleanup. Co-authored-by: Cursor <cursoragent@cursor.com>
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
This PR stabilizes live audio playback and the transitions between Music, screen mirroring, and HLS.
Live audio
Session lifecycle
PresentationEndPolicyand cover the edge cases with unit tests.Player and MSE reliability
Artwork
Playbackhook, plus MSE storage/HTTP access for the future vertical.Validation
:server:test:app:mse:test:server:testand:app:mse:testThe local GStreamer HLS position smoke test can be timing-sensitive on macOS; the supported CI GStreamer matrix is green.