Hi all,

I'm implementing  a site where people can leave voice messages.
Basically, it's an  " audio graffiti" site. When a person signs up,
they are allowed to leave messages. Here's how I think it should work,
on a macro scale. Please let me know if I'm doing it wrong!

My PHP app will output  a page with a flash recording widget. I will
pass several parameters to this widget: user ID of the user, page ID
and a message ID. If the user records anything, I will then issue a
POST thorough the Flash widget to the PHP script and it will inform it
that something was recorded and it will give me a filename (something
like "userID_pageID_messageID.flv"). I will then know that something
was recorded and will add this flv file to the database and will be
associated with the page in question. Next time we output the page,
the audio that was recorded will be displayed and you will be able to
play it.

I have a few questons though...

1) Is this the best way to do this?
2) How do I generate a unique "message ID"? Just a random number will
do or should I do something more complicated?

Thank you and feel free to comment on this :)

Mel

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

Reply via email to