Parcel_media_command_agent
|
|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-09-2006 14:42
After Strife introduced me to this setting (PARCEL_MEDIA_COMMAND_AGENT), allowing me to set a video per user, rather than per parcel, it had me wondering. I made a basic HUD screen that sent a command by email to a server. Think the opposite of those networked media players, so I kept the URL list on the player in my hands, and the server just carried out a play command on my agent.
The idea was that I could then take a screen around to see clients etc which could scan for local clients and then display the video to them, even though I don't have rights to their parcel. Basically like those business men who tour with projectors etc...
It started well. I could step off my parcel, onto protected land, and hit play. Sure enough the server played the video on my HUD screen and I was watching it within 10secs. Great I thought, but does it work cross-sim?
I soon found that yes it does. My place is near a border so I stepped onto the sim next door and it still worked. I gave a copy to a friend to test and he said it worked for him, but then it stopped working. I went to him and mine had stopped also.
I eventually found that I seem to have approx 100m range, until which point the server is no longer able to send me video. This doesn't seem to be completely accurate though, since I wandered a couple of sims once and it was still working, but on the way back I had to be almost back in my own sim before it worked again. So there is no obvious range then?
Any ideas? Is there a limit on how far I can go? I can't see any reason why there is, but either there is a limit or I suck. Either is possible! I've actually just TP'd to a friends private island and it's still working from here... go figure! I set the server to flash when it received and sent a request. A friend tells me that it is flashing when it's supposed to, so I'm thinking that it's a limitation of the PARCEL_MEDIA_COMMAND_AGENT and its range
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
11-09-2006 15:27
Just guessing, but perhaps the restriction is on where you are when you start the stream playing? It seems reasonable to me that it would only start the stream when you are over land you own. That it would continue after you leave the parcel strikes me as a bug, rather than an intended effect.
_____________________
- ninjafoo Ng Says:
November 4th, 2006 at 7:27 am We all love secondlife so much and were afraid that the magic will end, nothing this good can ever last…. can it?
|
|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-09-2006 15:40
Nope, got the idea all wrong Lauren!  The way it works is that when you walk from one parcel to another, it resets and stops playing, but while you're on that other parcel, if you hit play again it will then play where you are, but of course ONLY for you. I've got varying results on where I can be while this is happening mind you. How I do it... Normal media-player, but when you click play, it emails the request to the server which is on my land. The email will contain the UUID of the sender (me) as well as a command (play) and the URL. it splits it by CSV (would be sent something like "play,URL,my_key"  . When it sees the first value is play it will invoke a play function. That function will use my key with parcel_media_command_agent to play only for me. The URL obviously sets what URL I want to watch. It does work, and I'd be happy to demo it for you, I set up a beta server which would be up until January for me to test how it works with multiple users, but hit a snag already in that I can't get the damn thing to work all the time from a distance. It works every time when I'm in the same sim or very near it
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
11-09-2006 16:15
From: Landing Normandy Nope, got the idea all wrong Lauren!  [....] It works every time when I'm in the same sim or very near it Ah! That explains it. The script call only works when you are within --or a child agent of-- your server`s home sim, and your server only works when it is on your own land, right? Makes sense. Still should not work unless you are on your own land, and stop when you leave, in my opinion. Cool that it doesn`t, though. Methinks you`ve found an interesting, and possibly useful, bug.
_____________________
- ninjafoo Ng Says:
November 4th, 2006 at 7:27 am We all love secondlife so much and were afraid that the magic will end, nothing this good can ever last…. can it?
|
|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-09-2006 16:29
From: Llauren Mandelbrot Ah! That explains it. The script call only works when you are within --or a child agent of-- your server`s home sim, and your server only works when it is on your own land, right? Nope. I don't have to be in that sim at all, but the exact yes and no of when it will and won't work has yet to be figured out! But yes, maybe an interesting bug that I could work with... was hoping to work it so that I can watch my own video anywhere I want in SL, but it's not going quite the way I wanted it to!
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
11-09-2006 16:55
Did you miss where I said --or child agent of--? You indicated earlier that you had to be "near" your home sim to start it. Being a child agent of a sim means that your presence is interacting with said sim. From what you`ve said, it sounds to me like it only works when you are either inside your home sim, or a child agent thereof. What is your draw distance set to? Compare that to the distance from the sim border where your control stops working. Elsewise I have no idea what is going on. Do please keep us informed, though. ::hugs::
Also, please, more details on what happens when you cross property lines? That was somewhat unclear.
_____________________
- ninjafoo Ng Says:
November 4th, 2006 at 7:27 am We all love secondlife so much and were afraid that the magic will end, nothing this good can ever last…. can it?
|
|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-09-2006 17:19
Sorry Llauren, I thought I had already mentioned that when I entered a private island and hit play it did work, but only once. When the next stream was due to play it did not do so. As for when you move from one parcel to another, well that's just like when you walk from one parcel where you're watching video to another. It stops and the prim's texture is reset, where earlier you saw video. It's exactly the same as normal playback. I figured it would be possible to do some work with timers to get either the script in the server, or more likely the script in the HUD to note when it moved into another parcel and then continue from there, though I've never looked into any kind of event based on moving from one parcel to another, if indeed one even exists. Yes there would be a delay, but it would be better than starting the stream again, especially if you're not talking about live streams but music videos maybe Thinking about it, if it was that somehow I was still interacting with the home sim after TPing to the private island and that's why it played when I was there, it still leaves me in a position were we could look at having some kind of server in a number of sims. when you arrive your HUD could shout to that server and receive the UUID back, at which point you can send requests back to it, rather than relying on the one back home. Now if only I could convince EVERY land owner in SL who has a plot near the centre of a sim... 
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
11-09-2006 22:16
hmmm just thought of something Landing. What about the server being worn as an attachment????? Just as a test?
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-10-2006 05:04
No, the server has to be on land owned by yourself, it still has to interact with that parcel's media settings, which is odd really, because you'd think that if you're setting your own texture and everything after parcel_media_command_agent that it would let you do it anywhere wouldn't you? But I think there is more experimentation to be done still!
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
11-10-2006 09:07
Hmm, interesting, and confusing.
What happens when you log out away from home [well beyond draw distance], and log in again tens of minutes [or more] later, again away from home, then try to activate your system?
IE, what happens when you try to activate it in a session where you have never been near your home sim?
_____________________
- ninjafoo Ng Says:
November 4th, 2006 at 7:27 am We all love secondlife so much and were afraid that the magic will end, nothing this good can ever last…. can it?
|
|
Landing Normandy
Proposing 4968
Join date: 28 Nov 2005
Posts: 240
|
11-10-2006 16:04
Dunno, I'll try it when I get the chance...
_____________________
<VOTE PROPOSITION 4968/> http://jira.secondlife.com/browse/VWR-4968 For SecondLife Builders who need better mapping for better building
|