Is it possible to receive audio data without AudioPlayerControl in .NET?

Is there a way similar to video JPEGLiveStream, to receive audio data without creating AudioPlayerControl in .NET?

There is no direct audio counterpart to JPEGLiveSource, but you can use the toolkits for this (e.g. Image Server Source Toolkit which despite its name supports all data types).

-

Update: This is not correct - please se Bo’s answer below

Using Protocol Integration I created two sockets to pull the audio and video from a camera but I am not getting timing info from the audio socket in the ImageHeaders. So ‘current’ ‘next’ and ‘previous’ are always 0. Is this expected or a bug? Also, how am I supposed to sync the audio with video with 0’s for ‘current’?

The 0’s for audio image headers is only in live mode, historical audio has timing values. So I still am unable so sync audio/video when playing live.

Unfortunately (as you already observed) this is a known limitation of the XProtect interface as of today. The audio live interface was intended for ‘play as fast as you receive’ which obviously can cause trouble when trying to synchronize with video such as H.264 that might have some delays due to the encoding.

Is this a fit? - https://developer.milestonesys.com/s/question/0D50O00003HiYIJSA3/audioplayercontrol-for-net-buffer-access-renderer-option

Yes, thanks. I can use the time stamps in the audio header since they seem valid in live and playback modes.