Jetson Xavier NX with Python Threading for Audio?

Hi, we are trying to run audio on the Xavier NX with Python’s playsound while using OpenCV. We use Python’s Thread module for playing the sound, but it does not spawn a thread concurrent to the rest of our code (we know this because the video stream freezes). How can we fix this? Is there another Python library we can use?

We are using a USB speaker and a Raspberry Pi Camera module.

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

Do you mean the camera freezes cause the audio play failed?
What is only run the camera pipeline?