Php output continuous stream
问题 So I've been experimenting with PHP's fOpen function and I've had a lot of success with reading sound files. Now, I'm trying to create a sort of "relay" for shoutcast streams. File_get_contents is probably the poorest way of doing this, since the data is continuous. Would using php sockets yield better results? Tl;dr What's the best way to output a continuous stream of audio/mpeg data? 回答1: I've done this with PHP and SHOUTcast streams in the past. It's certainly possible, but keep in mind