mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-15 00:34:05 +09:00
add non-hls bus messages to debug; video_reset on teardown 110
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user