Update: Now it's needed only a shoutcast server, I'm working on removing the web server too
I own a Wii!
And I'm playing more with the opera browser+flash than with Zelda...
My first experiment is to stream music from the pc to the Wii.
So here a quick how to:
Note: I've encountered some problems because of a weird bug in the flash Sound object, witch I'll explain in the next post. Update: here the post.
There are still some imperceptible "glitches" every two minutes, but the overall quality is good.
Notice that the player hasn't any interface yet and its required to run three(!) servers. In the next days I'll try to improve those things.
Requirements
You need:
It is possible to swap every item in the list with a Mac/Linux alternative, I'll leave it to google.
The server(s)
Download and install the SHOUTcast server.
In sc_serv.ini change the password and make it private:
CODE:
-
Password=changeme
-
PublicServer=never
Now start the server.
This has to run on the same machine of the webserver due to the security restrictions of the flash player.
We need two servers because flash refuse to open another connection to the same server. (And we need to do that to avoid memory leaks)
Stream
Download and install the Shoutcast winamp plugin.
Start winamp.
Select Options->Preferences->DSP/Effect->Nullsoft SHOUTcast Source DSP
and put the new password and the server port (8000 by default)

Now the music you listen will be streamed to the shoutcast servers.
The player
Now, get the swf player:
Shoutcast stream flash player
It hasn't any interface yet, I'll do that in the next days.
Put the swf in your web server and pass your ip as a flashVar in wiinamp.html:
HTML:
-
-
<param name="movie" value="stream.swf" />
-
<param NAME=FlashVars VALUE="stream1=http://192.168.1.33:8000/" />
-
<embed src="stream.swf" FlashVars="stream1=http://192.168.1.33:8000/" />
-
</object>
8000 and 8002 are the ports of 8000 is the port of the stream servers.
Listen
In the Wii Internet Channel open http://*yourip*/wiinamp.html and relax
To Do
- An interface for the player
- try Icecast to get rid of the second server and the webserver (for now it made flash unstable)