steveseguin / vdo.ninja

VDO.Ninja is a powerful tool that lets you bring remote video feeds into OBS or other studio software via WebRTC.
https://vdo.ninja
Other
2.76k stars 770 forks source link

Can PCM support stereo with 48khz and 44.1khz #1074

Open Itukii opened 1 year ago

steveseguin commented 1 year ago

I have not managed to get 44khz or higher to work with stereo PCM; only with mono. It might be possible, but I was not able to find a combination of settings that worked with Chrome. It would just fail.

It might be possible still ii using &chunked mode, which could send PCM via data channels, but that wouldn't be webRTC-based and likely much higher latency. I might need to also do more work on that front to have it work properly since I don't recall testing it.

Itukii commented 1 year ago

It seems the &chunked mode will change to opus image push:&s&chunked&audiocodec=PCM view:&audiocodec=PCM

Itukii commented 1 year ago

But I realize there's not much difference in sound between 32khz and 44.1khz so thank you very much