Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Netwok stream of loopback recording

$
0
0
hi am trying to stream the WasapiLoopbackCapture ..
but the proble is that the WasapiLoopbackCapture writes a wav file of 32bits per sample wich VLC netwok stream reader cannot read .
 waveIn  = new WasapiLoopbackCapture();
waveIn.DataAvailable += OnDataAvailable;
  waveIn.StartRecording();
 void OnDataAvailable(object sender, WaveInEventArgs e)
        {
 m_MulticastSender.SendBytes(ToRTPPacket(e.Buffer,waveIn.WaveFormat.BitsPerSample,waveIn.WaveFormat.Channels).ToBytes());
}

Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>