{"id":13743760,"url":"https://github.com/LucasLorentz/AS3RtmpClient","last_synced_at":"2025-05-09T01:31:49.739Z","repository":{"id":4806514,"uuid":"5959938","full_name":"lucaslorentz/AS3RtmpClient","owner":"lucaslorentz","description":"A proof of concept AS3 RtmpClient using sockets, based on Flazr.","archived":false,"fork":false,"pushed_at":"2013-08-17T17:45:33.000Z","size":1451,"stargazers_count":19,"open_issues_count":2,"forks_count":16,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-26T13:46:31.690Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucaslorentz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-26T02:54:13.000Z","updated_at":"2020-12-31T19:42:02.000Z","dependencies_parsed_at":"2022-08-18T00:16:11.309Z","dependency_job_id":null,"html_url":"https://github.com/lucaslorentz/AS3RtmpClient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaslorentz%2FAS3RtmpClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaslorentz%2FAS3RtmpClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaslorentz%2FAS3RtmpClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucaslorentz%2FAS3RtmpClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucaslorentz","download_url":"https://codeload.github.com/lucaslorentz/AS3RtmpClient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253174364,"owners_count":21865852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:00:56.587Z","updated_at":"2025-05-09T01:31:45.082Z","avatar_url":"https://github.com/lucaslorentz.png","language":"ActionScript","readme":"AS3RtmpClient\n==============\n\nThis is a proof of concept RtmpClient based on Flazr (http://flazr.com/) created to run on Flash Player (AS3 + Sockets + ByteArray).\n\nFirst of all. I did that code some time ago. I'm not working on it anymore, and it is just a proof of concept.\n\n**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.**\n\nMOTIVATION\n==============\n\nWhy creating a AS3 RtmpClient if Flash supports it natively?\n\nI did that experiment when I was trying to figure out some way to save video streaming to hd using only Flash Player. \n\nThings that I got working on my tests:\n- Save streaming video to a local file, while it is playing.\n- Modify RtmpSampleAccess to true on any video, allowing to take snapshots (bitmapData.draw) of the video.\n- Send customized swfUrl, pageUrl, and other connection parameters.\n- Publish custom bitmaps to a live stream. Instead of sharing a Webcam, I shared a display object.\n- I also created an app using Adobe AIR to play RTMP Streams on my Android devices. For personal use ;-)\n\nUSAGE\n==============\n\n```AS3\nvar connectionConfig:String = \"rtmp://rtmp01.hddn.com/play playpath=mp4:vod/demo.flowplayervod/buffalo_soldiers.mp4\";\n\nvar video:Video = new Video();\n\nvar rtmpNetStream:RtmpStreamPlayer = new RtmpStreamPlayer();\t\t\t\t\nrtmpNetStream.play(connectionConfig, video);\n```\nThe play method receives a connection configuration like librtmp.\nhttp://rtmpdump.mplayerhq.hu/librtmp.3.html\n\nSome videos will work, some others will not. Whatever, this library is just a proof of concept. :-)\n\nLICENSE\n==============\n\nAs Flazr. This project is licensed under the LGPL License.  \nhttp://www.gnu.org/licenses/lgpl.html\n","funding_links":[],"categories":["Networking"],"sub_categories":["Protocols"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucasLorentz%2FAS3RtmpClient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLucasLorentz%2FAS3RtmpClient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucasLorentz%2FAS3RtmpClient/lists"}