Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

rtsp vs http

DrDoug Pennell
e-mail is for old people
Join date: 13 Mar 2007
Posts: 112
12-18-2008 08:26
Hi there,

I am trying to play some audio files I created for a tour. 20 - 40 second sound bytes.

Here is the simple script I'm using.

llParcelMediaCommandList([
PARCEL_MEDIA_COMMAND_TYPE, "audio/mpeg",
PARCEL_MEDIA_COMMAND_AGENT, llDetectedKey(0),
PARCEL_MEDIA_COMMAND_URL, "http://blah/blah.mp3",
PARCEL_MEDIA_COMMAND_PLAY]);

Which works just fine. It has been suggested that streaming the audio would be a better approach than downloading. Our IT folks have provided me with urls for streaming and downloading. But if I try:

llParcelMediaCommandList([
PARCEL_MEDIA_COMMAND_TYPE, "audio/mpeg",
PARCEL_MEDIA_COMMAND_AGENT, llDetectedKey(0),
PARCEL_MEDIA_COMMAND_URL, "rtsp://blah/blah.mp3",
PARCEL_MEDIA_COMMAND_PLAY]);

it doesn't seem to play.

Any thoughts? Is streaming better for this application?

Thanks,

Doug
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
12-18-2008 23:56
not sure --- but it could be the port or the mimetype that's causing the issue here -- that's where i would look...

hth
/esc
_____________________
http://slurl.com/secondlife/Together