Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

A Radio Orb????

Rachel Boram
Registered User
Join date: 19 Dec 2006
Posts: 48
02-12-2009 12:08
Suppose i have 4 skyboxes - each at different elevations. I want to play a different music genera on each level. :rolleyes:

Sort of like the security orb that's out there -

I want a radio orb. Is there such a thing in sl?
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-12-2009 12:18
If they are over different parcels, sure. If they are ONLY at different altitudes, you can set a media stream on a per-avatar basis (see http://www.lslwiki.net/lslwiki/wakka.php?wakka=llParcelMediaCommandList and the PARCEL_MEDIA_COMMAND_AGENT flag), but not the music stream, and not per area; only per avatar. I'm not sure if you can use the media URL for a pure audio stream.
Rachel Boram
Registered User
Join date: 19 Dec 2006
Posts: 48
Dang!!!
02-12-2009 13:28
i wanted same parcel - but different streams at different altitude ranges :(
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
02-12-2009 13:31
Using a sensor and see what height an avatar is at and using the per avatar setting is the only way to do it.
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
02-12-2009 16:36
How does this work? Does it mean i can set my land so i hear a blues channel and my friend hears classical? I've had a quick look at both wiki entries and don't quite understand what it means.
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
02-12-2009 16:58
You need to use a script to do the per-avatar media. Call the "llParcelMediaCommandList" function, with a command to set a specific avatar, and a command to set the URL. Here's the info:

http://www.lslwiki.net/lslwiki/wakka.php?wakka=llParcelMediaCommandList
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
02-12-2009 17:24
Yes, I understand that, but does this mean that I could have a set-up whereby, for example, a script grabs my uuid when I touch a prim, offers me a llDialog menu and plays me the url i select, and then, when my friend touches the same prim and selects a different movie, we end up watching different movies on the same prim at the same time?
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-12-2009 17:49
Yes, I believe that is quite possible. Of course, you are also free to have your script logic make sure it plays the same URL for all avatars, or for groups of avatars (for example, all those within a certain range of altitude).
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
02-12-2009 18:42
I think the downside of that, if it's a movie, is that you can't play the movie at the same time, so you both see the same image. I'm not sure about that, but believe that is one of the "features" of the media call.
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
02-13-2009 01:31
You can deliberately Stop and Play the movie at specific times using the parcel media command list, but it only affects users within the parcel, and users can still override it using the media control buttons on their own client.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-13-2009 08:31
From: Lazink Maeterlinck
I think the downside of that, if it's a movie, is that you can't play the movie at the same time, so you both see the same image. I'm not sure about that, but believe that is one of the "features" of the media call.

Depends on what kind of URL it is. If it points at a static file, users will see it totally unsynchronized; it will depend on when each of them starts it. If it is a true live stream, they'll all see it at (approximately) the same time. There might be a small difference in the time each client takes to buffer data and such.
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
02-13-2009 08:34
Thanks, guys.. I want to have a play with this but first I wanted to have an idea what it should do, so I know whether I've managed to get it to work or not.