You can play a song on your PC and listen to it on your iPhone / iPad – converting your PC into a radio station. As with most things VLC related, it’s tough to figure out but obvious in retrospect.
The first thing to do is set up the MIME type for the streaming. This is a bug that has been fixed, but might not have made it into your version of VLC.
Go to Tools – Preferences.
Click on “All” to see all the settings.
Under Stream output – Access output – HTTP, set Mime to
audio/x-mpeg
.
At this point, you should restart VLC.
As I mentioned earlier, you might not need to do this if you have new enough a version of VLC that auto-detects the content’s MIME type.
Re-open VLC, and go to the Media – Stream menu.
Click Add and choose the file you want to stream. Then click on Stream.
Click Next.
Select HTTP and click Add.
Select Audio – MP3 and click on Stream.
At this point, the audio is being streamed at port 8080 of your machine. You can change the port and path in the menu above. (To find your local IP address, open the Command Prompt and type ipconfig.)
Open Safari on your iPhone or iPad, and visit http://your-ip-address:8080/
I haven’t figured out the right codec and MIME type to do this for videos yet, but hopefully will figure it out soon.
No comments:
Post a Comment