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

New Post: Sending and playing MP3 frames

$
0
0

Hi

I'm trying to get a simple mp3 stream (server -> client) going. At the moment I have a server which

1. Opens the mp3 file

2. Reads one frame

3. Sends the frame to the client

a) More data? Go to 2

The client reads the frames into a memory stream. But here is my current problem, how do I play it?

Thread 1 feeds the memory stream, while thread 2 plays it was my plan. But currently I don't know how to play it.

So any input like help, suggestions, tips would be greatly appreciated.


Viewing all articles
Browse latest Browse all 5831

Trending Articles



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