Vanessa wrote:

> I am so excited about the Red5 server I set up...

We're excited Red5 makes girls excited!! :-)

> However, is there anyway I can store the file on user's local temp
> file and replay it before we send the captured file to streaming
> server?

There's no way to save anything but serialized AS objects in 
SharedObjects. It's Flash security policy and has been made to prevent 
saving of malicious code for sake of later execution.

If you want to create a "preview before save" option you can stream it 
to server in "live" mode, start recording manually with 
org.red5.server.api.stream.IClientBroadcastStream#saveAs method, then 
pass filename back to the client.

When user wants to have a look at the preview, play it back (you passed 
saved stream name, remeber that?) and if user clicks "Delete" just 
remove the file at server-side with a call to application method.

I.e. it doesn't matter where you store the stream. The only difference 
is how you call the delete action. If you can't save it locally but 
still can save and remove @ server side, now what? Go ahead.

Hope this helps.

-- 
Michael "Antares" Klishin,

http://www.novemberain.com || mailto:[EMAIL PROTECTED]


"We are able to enable people to use Flash where it's useful. It's not 
all or nothing. You can mix and match."

-- Kevin Lynch

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to