Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LucasLorentz/AS3RtmpClient
A proof of concept AS3 RtmpClient using sockets, based on Flazr.
https://github.com/LucasLorentz/AS3RtmpClient
Last synced: about 2 months ago
JSON representation
A proof of concept AS3 RtmpClient using sockets, based on Flazr.
- Host: GitHub
- URL: https://github.com/LucasLorentz/AS3RtmpClient
- Owner: lucaslorentz
- Created: 2012-09-26T02:54:13.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-17T17:45:33.000Z (over 11 years ago)
- Last Synced: 2024-10-16T08:53:55.396Z (3 months ago)
- Language: ActionScript
- Size: 1.38 MB
- Stars: 19
- Watchers: 13
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actionscript-sorted - AS3RtmpClient - A proof of concept AS3 RtmpClient using sockets, based on Flazr. (Networking / Protocols)
README
AS3RtmpClient
==============This is a proof of concept RtmpClient based on Flazr (http://flazr.com/) created to run on Flash Player (AS3 + Sockets + ByteArray).
First of all. I did that code some time ago. I'm not working on it anymore, and it is just a proof of concept.
**In order to use flash.net.Socket in a Flash sandbox environment, you need to have a flash socket policy server. Look at http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html. Because of this restriction, this library might be more suited for AIR apps.**
MOTIVATION
==============Why creating a AS3 RtmpClient if Flash supports it natively?
I did that experiment when I was trying to figure out some way to save video streaming to hd using only Flash Player.
Things that I got working on my tests:
- Save streaming video to a local file, while it is playing.
- Modify RtmpSampleAccess to true on any video, allowing to take snapshots (bitmapData.draw) of the video.
- Send customized swfUrl, pageUrl, and other connection parameters.
- Publish custom bitmaps to a live stream. Instead of sharing a Webcam, I shared a display object.
- I also created an app using Adobe AIR to play RTMP Streams on my Android devices. For personal use ;-)USAGE
==============```AS3
var connectionConfig:String = "rtmp://rtmp01.hddn.com/play playpath=mp4:vod/demo.flowplayervod/buffalo_soldiers.mp4";var video:Video = new Video();
var rtmpNetStream:RtmpStreamPlayer = new RtmpStreamPlayer();
rtmpNetStream.play(connectionConfig, video);
```
The play method receives a connection configuration like librtmp.
http://rtmpdump.mplayerhq.hu/librtmp.3.htmlSome videos will work, some others will not. Whatever, this library is just a proof of concept. :-)
LICENSE
==============As Flazr. This project is licensed under the LGPL License.
http://www.gnu.org/licenses/lgpl.html