|
|
|
Ask HN: Local media server, receive and send audio?
|
|
2 points
by thedangler
148 days ago
|
|
I'm playing around with an idea. Before I go and setup a server. This is just a prototype. Doesn't need to be fancy. The audio will be coming from a mobile device, so maybe save to stream that is relayed which I can listen to from VLC? Or maybe I save the files locally every 30 seconds, and add them to a output stream. I'm new to audio streaming send and receiving. GITST.
Mobile device sends audio to local server which creates a stream I can connect to and listen. Thanks |
|
The web server sees the range header and then responds with a small slice of the media and a HTTP 206 response. That's really all there is to it from a regular web implementation.
You could also play around with proper streams. This would work by creating a file system stream and piping the output to a network socket. This is really just as simple as it sounds, but you will have to make some decisions on network protocol and remote interface.