|
MR Jordan
Registered User
Join date: 21 Jan 2007
Posts: 2
|
01-21-2007 21:20
Hey,
I am trying to create a system where visitors to my land can watch one of several video clips. Each avatar can pick which stream to watch. From my reading of the LSL docs I should be able to call something like this:
llParcelMediaCommandList(PARCEL_MEDIA_COMMAND_AGENT, agentid, PARCEL_MEDIA_COMMAND_URL, strUrl, PARCEL_MEDIA_COMMAND_PLAY);
When I call this nothing happens. Nothing. If I remove the PARCEL_MEDIA_COMMAND_AGENT (and agentid) it works fine, but, that is only because it set the parcel media URL (which can now be seen in the UI under Abou Land | Media of course). If a second avatar comes along and chooses a new scene, when we call llParcelMediaCommandList again then BOTH avatars are now watching the new stream.
Is PARCEL_MEDIA_COMMAND_AGENT not implemented or something and if it is implemented, what is the secret to making it work, or have I completely misunderstood its purpose?
Thanks in advance,
MRJ
|
|
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
|
01-22-2007 16:59
AFAIK, there's only one media stream per land parcel. Everyone sees the same stream. I believe you can subdivide your land into smaller parcels, and allow each to have its own media stream. Each would also need its own movie screen.
|
|
MR Jordan
Registered User
Join date: 21 Jan 2007
Posts: 2
|
01-22-2007 19:15
From: Sterling Whitcroft AFAIK, there's only one media stream per land parcel. Everyone sees the same stream. I believe you can subdivide your land into smaller parcels, and allow each to have its own media stream. Each would also need its own movie screen. That seems consistent with what I have learned. But the LSL docs say: PARCEL_MEDIA_COMMAND_AGENT 7 key agent specifies a single agent to apply the media command to I thought perhaps this flag only applies to actions like PARCEL_MEDIA_COMMAND_PLAY, PARCEL_MEDIA_COMMAND_TIME, or PARCEL_MEDIA_COMMAND_PAUSE, etc. but my tests have not been able to make any of those work at all. For example, calling llParcelMediaCOmmandList with the PLAY and TIME flags does make the playback begin, but not at the TIME index specified. Does the PARCEL_MEDIA_COMMAND_AGENT flag do anything useful? Perhaps not...
|