11-23-2022 04:36 AM
So I have an app which creates .wav file and then casts the file to a speaker group. It is just some TTS. It was worked for years and recently stopped working.
I discovered that I can cast an old .wav file to the speaker group all day long, and there are no lockup. The .wav file that the application I am using is also generating a .wav file, but if I cast this file; it causes the intermittent lockup issue.
The main difference between these .wav files as far as I can tell is their bit rate. The former has a bit rate of 128kbps. This one works great.
The second file has a bit rate of 358.2kbps. This .wave file causes the casting problems.
I would be happy to share these .wav files it will help you guys debug the issue.)
Is there a cap on bit rate when casting wave files to speaker groups?
---------------------------------------
File: completedAsDialed.wav
File type ID: WAVE
Num Tracks: 1
----
Data format: 1 ch, 8000 Hz, Int16
no channel layout.
estimated duration: 6.786000 sec
audio bytes: 108576
audio packets: 54288
bit rate: 128000 bits per second
packet size upper bound: 2
maximum packet size: 2
audio data file offset: 44
optimized
source bit depth: I16
----
File: testCast.wav
File type ID: WAVE
Num Tracks: 1
----
Data format: 1 ch, 22050 Hz, Int16
no channel layout.
estimated duration: 3.429025 sec
audio bytes: 151220
audio packets: 75610
bit rate: 352800 bits per second
packet size upper bound: 2
maximum packet size: 2
audio data file offset: 46
optimized
source bit depth: I16
----