add non-hls bus messages to debug; video_reset on teardown 110

This commit is contained in:
F. Duncanh
2025-05-12 00:10:46 -04:00
parent 3bb34553c0
commit 5e3cc9fbc4
3 changed files with 74 additions and 26 deletions

View File

@@ -579,6 +579,9 @@ raop_rtp_mirror_thread(void *arg)
" payload_size %d header %s ts_client = %8.6f",
payload_size, packet_description, (double) ntp_timestamp_remote / SEC);
if (packet[6] == 0x56 || packet[6] == 0x5e) {
logger_log(raop_rtp_mirror->logger, LOGGER_DEBUG, "This packet indicates video stream is stopping");
}
if (!video_stream_suspended && (packet[6] == 0x56 || packet[6] == 0x5e)) {
video_stream_suspended = true;
raop_rtp_mirror->callbacks.video_pause(raop_rtp_mirror->callbacks.cls);