Some audio files with the correct requirements not playing

I have around 20 wav files that I would like to be able to play out to speakers. Only some of the audio files I have will play they are all PCM, 8KHZ and mono. The only difference is that the ones that work were encoded with LibAVFormat version 57 where all the ones that dont work are versions 58 and 59.

The left side of the screenshot is the working one where the right side is the one that wont play

Thanks,

Danny

A developer will dig a little deeper into this.

If your words on the formats needs a little further research, could you please for easy reproduction supply two files; one that works and one that fails?

I am assuming you use this sample : https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/videoviewer2wayaudio/readme.html&tree=tree_2.html - or similar code.

As a last bit of information needed: What product and version of XProtect are you testing with? Are you using MIP SDK NuGets 22.3 or 23.1?

Hi,

Yes I have been testing using the example program you mentioned,

I have tested it using 23.1.1 from NuGet I also tried a couple of the older ones but all worked the same.

I have tested it on my XProtect 2022 R3 Essentials

and on a customers XProtect Professional+ 2022 R1

I have uploaded two files one that plays and one that does not.

I also spotted after trying it with another system that I was getting a “startspeak failed” error that’s when I noticed that the timeout is set to 0 for this command _outgoingSpeakerController.Connect which meant when I tried it on a customers server on WAN instead of my test server on my LAN it would fail to connect.

Thanks,

Danny

A developer analyzed and found:

The second file doesn’t work, because its header is not entirely correct or at least I can’t find the information on whether it is valid to be structured like that.

Hey Danny, this will be resolved in 2023 R3 :slight_smile: