Friday, May 11, 2012

setup rtmplite demo I

1) Make sure the server has at least Python 2.6, otherwise install the newer version;

2) Download the rtmplite package from http://code.google.com/p/rtmplite/; extract and navigate to the folder;

3) Start the server with default options and debug trace by issuing the command: python rtmp.py -d

4) Open the link http://li-bo-z.comp.nus.edu.sg/rtmplite/testClient/bin-debug/testClient.html in browser, and connect to rtmp://li-bo-z.comp.nus.edu.sg/myapp ; for the netstream, just use the default "user1", then click "Publish" to send the data to server. If the "Enable recording" is selected, there will be a flv file created to record the content.

5) Open the same link as 4) in another browser window and also connect to the same application domain rtmp://li-bo-z.comp.nus.edu.sg/myapp . Use the same stream and click "Play", we can then see the same recording of the previous window. 


No comments:

Post a Comment

Google+