Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: MP3 server with IO::Socket

by Anonymous Monk
on Apr 16, 2003 at 03:00 UTC ( #250765=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            print $socket "ICY 200 OK\r\n";
            print $socket "Content-Type: audio/mpeg \r\n";
            print $socket "Cache-Control: no-cache \r\n";
    ...
            print $socket "icy-notice1:This stream requires Winamp \r\n";
            print $socket "icy-notice2:Perl Streamer v0.1a \r\n";
            print $socket "icy-metadata: 1 \r\n\r\n";
    
  2. or download this
    print $socket "icy-metaint:8192\r\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://250765]
help
Chatterbox?
[Corion]: Hmmm... Weird. Maybe it needs that for doing its timers or something. Still weird.
[Corion]: But I guess I'll find out soonish, as my application seems to use Prima for more than just displaying the OpenGL output soonish ;))
[ambrus]: No, I think the timers are handled fine in the event loop, as far as I can see.
[Corion]: So far, I liked Prima quite well as it simply seems to do what I want even if it has an upside-down coordinate system. But it installs from CPAN out of the box and is cross-platform

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2016-12-09 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (150 votes). Check out past polls.