Mike Brady
fb5b434f55
Quieten some debug messages.
2025-12-14 15:27:12 +00:00
Mike Brady
07b60e7112
1. Add the ability to work back through queued buffers to find the first buffer that’s older than the given one. This is to enable the replacement of deciphered buffers with buffers that arrive later but are timed earlier.
Added functions that relate to this are: get_revised_seqno() to wind back through the queued buffers and clear_buffers_from() to free buffers that are already occupied.
...
2. Clean up get_audio_buffer_size_and_occupancy() and replace it with get_audio_buffer_occupancy().
3. Add a new general setting: audio_decoded_buffer_desired_length_in_seconds for managing the size of the player buffer queue when the source is buffered audio. Default is 0.75 seconds so that we can step back up to that time if older buffers appear.
2025-12-14 10:17:38 +00:00
Mike Brady
489bfd7862
Add a check for EINTR to accept() calls.
2025-12-09 17:13:18 +00:00
Mike Brady
e9f60c89d2
Cleaned up the get_play_lock and release_play_lock stuff and placed them in the right (?) places for AP2, AP1 compatibiity and Classic AP. Fixed the setting of flags and GID in Bonjour.
2025-12-09 12:10:05 +00:00
Mike Brady
f2de7fadef
Start using get_play_lock and release_play_lock and enable them to turn on and off the appropriate bonjour flags.
2025-12-08 09:50:54 +00:00
Mike Brady
a062f83abe
Quieten lots of debug messages.
2025-12-05 08:49:22 +00:00
Mike Brady
93bafe304a
Modify/simplify the TEARDOWN handling in AP2 mode. Allow the threads to natrually terminate when ports are closed by the client.
2025-12-03 15:56:38 +00:00
Mike Brady
2de1ecf0dd
Move debug stuff into utilites folder. Move structured_buffer stuff into its own files. Duplicate rtp_event_receiver to ap2_event_handler and ap2_rc_event_handler.
2025-12-02 13:02:15 +00:00