[osflash] Can the Red5-Server record more than one stream at once?

Dominik Felber dominik.felber at decadeone.com
Mon Oct 19 01:34:07 PDT 2009


Hello,

I built a app with Red5 (0.9.0) and I would like to know if the Red5-Server is able to record more than one stream at once.
And if it's possible, I would be really glad if someone can tell me how to do that :D

Here are my two methods for starting and stopping the record-stuff:


        public void recordShow(IConnection conn, Object[] params) {
                String userID = params[0].toString();
                String iterator = params[1].toString();

                String streamName = VIDEO_RAW + userID + "_" + iterator;
                stream.saveAs(streamName, true);
        }

        public void stopRecordingShow(IConnection conn, Object[] params) {
                String userID = params[0].toString();
                String iterator = params[1].toString();

                String streamName = VIDEO_RAW + userID + "_" + iterator;

                ClientBroadcastStream stream = (ClientBroadcastStream) this.getBroadcastStream(conn.getScope(), userID);
                stream.stopRecording();
        }


I hope you can help me =)

 - Dominik



More information about the osflash mailing list