export both local and remote ntp times with audio and video frames

This commit is contained in:
F. Duncanh
2023-02-10 14:05:08 -05:00
parent 7d9ad58ad6
commit 28afb1fbb8
4 changed files with 29 additions and 25 deletions

View File

@@ -994,7 +994,7 @@ extern "C" void audio_process (void *cls, raop_ntp_t *ntp, audio_decode_struct *
dump_audio_to_file(data->data, data->data_len, (data->data)[0] & 0xf0);
}
if (use_audio) {
audio_renderer_render_buffer(data->data, &(data->data_len), &(data->seqnum), &(data->ntp_time));
audio_renderer_render_buffer(data->data, &(data->data_len), &(data->seqnum), &(data->ntp_time_local));
}
}
@@ -1003,7 +1003,7 @@ extern "C" void video_process (void *cls, raop_ntp_t *ntp, h264_decode_struct *d
dump_video_to_file(data->data, data->data_len);
}
if (use_video) {
video_renderer_render_buffer(data->data, &(data->data_len), &(data->nal_count), &(data->ntp_time));
video_renderer_render_buffer(data->data, &(data->data_len), &(data->nal_count), &(data->ntp_time_local));
}
}