Open 4hera opened 3 months ago
You're saying that the content-type is audio/mpeg, but WASAPI is capturing uncompressed IEEE floating point audio. You'd want something else encoding it to MP4 on the fly to support this kind of setup, which is unfortunately not easy to achieve with NAudio, as the MediaFoundationEncoder works best with whole files
Thanks for your answer. I am developing websocket based soft kvm software. I transfer the image to the browser. Additionally, I wanted to transfer the sound. Is there a source or code block you can recommend for the encoding process you mentioned?
Hi, I want to capture the audio going to my computer's default audio output with WasapiLoopbackCapture and broadcast it over http. Just like a radio broadcast. I tried the following parts but I was not successful. Where am I making a mistake? AudioStreamService.cs
Startup.cs