Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Changing PARCEL COMMAND AGENT's PARCEL MEDIA TYPE from any type to video fails

Laronzo Fitzgerald
Registered User
Join date: 20 Apr 2007
Posts: 6
09-06-2008 02:42
Hi guys, has anyone else come across this issue, have tips on workarounds or comments? It's a critical element for a feature in my Virtual Conferencing solution at myeOffice.net

Any help would be fantastic and support for the bug I have raised: http://jira.secondlife.com/browse/SVC-2991

Huge thanks!

When using PARCEL_MEDIA_COMMAND_AGENT to display media to the unique client I can switch between mime types text/html and image/* without problems but when switching from text or image to video/* this fails, the previous media item is displayed not the new video item.

Using:

llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_AGENT, client, PARCEL_MEDIA_COMMAND_UNLOAD]);
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_AGENT, client, PARCEL_MEDIA_COMMAND_TYPE, mediatype, PARCEL_MEDIA_COMMAND_URL, source]);
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_AGENT, client, PARCEL_MEDIA_COMMAND_PLAY]);

Debug shows source and media type are valid. Switching between different videos works perfectly fine. As soon as you switch to image or html however and try to switch back to a video, the media remains the same and fails to change to video.
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
Can't reproduse.
09-06-2008 03:51
I've tried switching through different mediatypes with:

ParcelMedia(string type, string url)
{
llParcelMediaCommandList([
PARCEL_MEDIA_COMMAND_AGENT, llGetOwner(),
PARCEL_MEDIA_COMMAND_AUTO_ALIGN,TRUE,
PARCEL_MEDIA_COMMAND_TYPE,type,
PARCEL_MEDIA_COMMAND_TEXTURE,TEXTURE_MEDIA,
PARCEL_MEDIA_COMMAND_URL,url
]);
}

I had problems with one particular video which didn't play until I manually set it in 'about land'. No clue as to why :confused:.
All the other media swithed without problems from video to text to image to audio (in random order) and back again. The player kept on playing all the time.

I hope this is helpfull.
Laronzo Fitzgerald
Registered User
Join date: 20 Apr 2007
Posts: 6
09-06-2008 03:57
Interesting results! Thanks - I encounter the same problem as you did with the video - setting the land parcel defies the point of setting media for a specific AGENT though ofcourse, because suddenly, everyone sees the same media, which is something we want to avoid! Thanks for taking a look!