Publishing and Viewing Gallery Advice
Hi,
I'm looking for some advice on the best way to set up my application. I currently have a working app but the work flow doesn't feel right at all. Here are the basic steps involved:
- Sign in (connection made to FMS using username+unique id)
- Publish webcam stream to FMS
- Preview own stream
- View gallery of other users recorded streams
The problem I'm having is once a user is connected, they are unable to view other users recorded streams in the gallery. The way I got around this was to copy the finished stream to a different folder 'library' and then when entering the gallery sign-out then back in using 'library' as the instance name. This doesn't feel right and I'm sure there must be a better way to structure this process.
The app uses most of the code that was in the livestreams demo.
Connection uri:
rmtp://locahost/livestreams/username_uniqueId
Folder structure:
published to
livestreams / streams / username_uniqueId / video.flv
which get copied to for viewing
livestreams / streams / library / username_uniqueId.flv
So my question is what's the best way for users to be able to record their own stream, then view others.
Many thanks
Tristian
