|
Pavcules Superior
Registered User
Join date: 30 Oct 2006
Posts: 69
|
11-15-2007 01:14
Hi there, I wonder if someone can tell me what the limitations are with the "llSetParcelMusicURL" with music streams. I've been trying out some music streams and its been like a hit and miss affair, with more misses than hits. Some of the URLs I've tried out will not play any music, but they work fine using Media Player. I've found LSL scripts that have music stream URLs that work fine. Some of the URLs I've been using start with the "mms://" prefix? Do they work in SL? Looking at the LSL Portal, I came across this note: ---- I can hear the stream in an MP3 player, but not in my parcel! The URL that works for an MP3 player may not work in Second Life. If you URL is http://example.com:8000/listen.pls you should use the URL http://example.com:8000 in Second Life. ---- Not all the music streams that I've come across have 'listen.pls', so do I need to do anything differently? Does the port number need to at the end of the URL, without anything else at the end of it? Please note, this is not a land permission issue, because I'm able to play some streams and MP3 files. Thanks.
|
|
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
|
11-15-2007 02:55
Streams are usually played in SL using the Quicktime. If it's not an MP3-Stream (OGG for example), you need the according QT-Plugin to play it (which makes it maybe difficult for others to hear the stream). You can test it by opening the stream in Quicktime - if it plays, chances are, that the stream will work in-world as well. Most MP3-Streams use the mentioned «listen.pls»-file for telling the Media-Player (whichever you use), where to fetch the stream. If you find this file, edit it with a text-editor - there you'll find the real informations (IP, Port) of the stream. This is quite important as inside this file, you might find different informations about the stream. Say, the address is something like « www.thegreatradio.com/stream/listen.pls» - inside the listen.pls there might be a completely different address like « www.thegiantstreamhoster.com:9000» - thus making the listen.pls merely a link to the real stream... Plus - SL usually doesn't need the «listen.pls»-file, so usually you just choose the IP and Port of the stream... HTH
|