I have a microphone hooked up to a Windows 7 PC. I need to broadcast this microphone live across my local network to Android/iPhone devices connected by wi-fi. I can't seem to find a method to get this to work. I spent hours researching and trying to stream from VLC Media player, and the corresponding VLC app for Android. I could not get this to work. Does anyone have suggestions?
3 Answers
You could multicast an udp stream to your local network from ffmpeg and play it from your mobile device, on Android I use MX Player. My setup:
ffmpeg -f dshow -i audio="USB Mic (2- Samson GoMic)" -c:a libmp3lame -f mpegts udp://192.168.0.255:12345To get your device name you can use
ffmpeg -list_devices true -f dshow -i dummyI can also get VLC to work with these settings:
VLC is a great cross platform application. PulseAudio is a cross platform sound system. PulseAudio for windows would require more advanced skills to multicast sound over the network and maybe even getting it to run. PulseAudio is often the default on Linux systems nowadays and is ported to BSD, MAC and even Windows versions.
The PulseAudio project describes itself as a proxy server for sound and does things like "... transferring audio to a different machine."
0I found this useful.
Firstly you will want prove out your audio input by opening "Open Capture device" Video device should be set to "none" Audio device configured as necessary to your desired input. When this is proven and working, then move on to streaming
This is a computer to computer LAN solution using http (I do not have an Ipod)
Open streaming (Capture device) in the GUI with video set to "none" and audio set to desired input configuration Click "Stream" button In the next "Source" window click "Next" button In the next "Destinations" window, optionally check the Display Locally box Then, select "http" from the dropdown menu and click the Add button beside it. This setting can usually be left at default of port 8080 with no path appended. In the Transcoding Options box below, select "Audio mp3" and ensure the transcoding checkbox is ticked Click "Next" In the final "Options" window Click "Stream" button
You should now be streaming your audio in mp3
On the client (VLC) computer, you need to select "Open Network Stream" and enter the complete url of the streaming server IP Eg (with your ip)
Hope I am able to help.