Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibauts/flash-stream
A lightweight Javascript Flash Stream component
https://github.com/thibauts/flash-stream
Last synced: 21 days ago
JSON representation
A lightweight Javascript Flash Stream component
- Host: GitHub
- URL: https://github.com/thibauts/flash-stream
- Owner: thibauts
- Created: 2014-06-07T13:48:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-07T14:06:44.000Z (over 10 years ago)
- Last Synced: 2024-10-16T07:21:28.890Z (2 months ago)
- Language: ActionScript
- Size: 125 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
flash-stream
============
### A lightweight Javascript Flash Stream componentThis is a very lightweight (under 2KB) SWF stream playing component that can be used as a fallback where WebRTC is not available.
The component is entirely Javascript-driven, and is in fact a thin wrapper around the flash Stream component. It supports stream playing through both RTMP and RTMFP (p2p, as in WebRTC).
Usage
-----`example.html` should get you started. The example uses RTMFP so you will need a Stratus key which can easily be obtained here [http://labs.adobe.com/technologies/cirrus/](http://labs.adobe.com/technologies/cirrus/). When the page is loaded open your browser console to get a peek at the internals. To test the component you will need the peerID of a published webcam. You can get one by running the flash-camera component.
The API being very close to the original Flash API, when in doubt look as the Actionscript source and refer to the corresponding documentation.
Building
--------You can rebuild a modified `FlashStream.as` with the included Makefile. You will need to have the Flex SDK installed and `mxmlc` in your PATH. Then simply run
```bash
$ make
```