libndi
libndi copied to clipboard
Time code for audio and video frames is always zero
The time code on all frames is always zero for me. It doesn't make a lot of sense to expose the timecode field on video and audio packets if you aren't going to populate it. :-)
I think the full NDI library silently examines the metadata chunks in the background and pulls out the time code data and merges it into the timecode field of subsequent chunks of audio and video data until it gets a new metadata chunk. But I'm not certain of that. There might be some magic XML that you need to send while initiating the connection if you want to get the actual time stamps from the sender. Not sure.