Table of Contents
Stream
Methods
| Method | Description |
| Stream.clear() | deletes a stream previously recorded by the server |
| Stream.flush() | flushes a stream |
| Stream.length() | returns the length of a recorded stream in milliseconds |
| Stream.play() | controls the data source of the Stream object |
| Stream.record() | records all the data going into the stream |
| Stream.send() | sends a call with parameters to all subscribers on a stream |
Properties
| Property | Description |
| Stream.buffertime | indicates how long to buffer messages before a stream is played |
| Stream.name | unique name of a live stream |
| Stream.write | boolean value that controls when a stream writes the contents of the buffer to a FLV file when the stream is recording |
Event Handlers
| Event handler | Description |
| Stream.onStatus | called when there is a change in status |
