record encode play and save a wav file
Can someone give an example of how to record, play, save and also encode a .wav file in a pcm file (u-law encode开发者_运维百科 for ex). I would like to create a rtp stream. THX
NAudio can be used to record audio, convert it to u-law and save it to a WAV file. The included NAudioDemo application demonstrates how to perform all three tasks.
For creating an RTP stream, you could try RTP.NET
精彩评论