![]() |
| Home RSS Directory F.A.Q Suggest A Feed Try Custom Feed Sonneries Portable |
Latest Flows from this sub-category: random selection from this sub-category: |
Open Dialect is the name of the software we are going to talk about in this post. To explain more about this software, I would like to answer few questions that everyone would be curious to know when we talk about Open Dialect the Open Source Flash IDE. The answers to these questions help you understand this software.
Answer 2: Flash is a powerful tool used by many and having an open source and Linux compatible alternative implementation of this tool is something you can not ignore. I believe that Open Dialect is the best open source Flash IDE, and will continue to be in the future. Answer 3: Open Dialect lets you create open source flash applications. You are able to generate Flash 9 SWFs with Open Dialect. It will allow anyone from a flash expert to a flash noob to create rich internet applications very easily and quickly. Open Dialect supports 17 different components, which respond to a wide range of user input and interaction With Open Dialect; you will be provided everything that is required to develop flash applications in an open source environment. Answer 4: Open Dialect is packed with cool features. Some of the features are-
Answer 6: Open Dialect as I already said is the future of open source Flash IDEs. Not only you can generate Flash 9 SWF, you can also create Adobe AIR applications for you and your client’s desktops. Answer 7: Open Dialect can become a whole lot more exciting if it gets support from Flash, community. The software is very powerful and has a great future ahead. All it needs is the support to make it a big success. If you like Open Dialect and you think that it can make your life easier with open source flash applications, you can always take part in its development. Open Dialect especially needs support from communities for its deployment on Linux and OSX. Very recently Open Dialect released Open Dialect 0.6.0 which has more new features as well as enhancements over existing features. Open Dialect is committed to deliver its best to the open source communities. I would request open source communities to be a part of the success of Open Dialect by providing more and more support and motivation to its development team. More details about Open Dialect are available here. You will also be interested to read the need for a System Dynamics based Open Source, Online Interactive Learning Environment Creation Tool. You can find it here. You can see the power of Open Dialect with the very basic demo here and http://dialect.openmodeling.net/showerile.htm Related Articles:- Open Dialect -An Open Source Flash IDE Now Supports Linux Open Dialect - Open source Flash IDE The only big thing in the internet which was hidden from search engines (Google, Yahoo) was the flash (.swf) files. But according to an announcement made by Adobe Systems today, flash files are no more hidden from these search engines. Adobe is providing optimized flash player technology to Google and Yahoo to enhance indexing of .swf files by search engines.
There are millions of flash users with millions of website using flash technology to develop websites and from Search Engine Optimization point of view, it was not advisable to use flash, but now with this news, there is a clear sign of tremendous growth of flash player technology in near future. Let see what adobe is saying. “Until now it has been extremely challenging to search the millions of RIAs and dynamic content on the Web, so we are leading the charge in improving search of content that runs in Adobe Flash Player,” said David Wadhwani, general manager and vice president of the Platform Business Unit at Adobe. “We are initially working with Google and Yahoo! to significantly improve search of this rich content on the Web, and we intend to broaden the availability of this capability to benefit all content publishers, developers and end users.”Google and Yahoo! both are working with Adobe in order to bring this as soon as possible in the future updates of their search engines. Read more in the press release from Adobe. In this post I will explain how to make a simple Two-Way A/V Chat Application with FMS3.
As we know that FMS3 application is the reference name we use in RTMP URL while connecting to FMS3 server. It's the folder name we create on server side. The chat application say "simplechat" will have two modules. An application can have several modules. Let's say we have two modules name Test1 and Test2. Both Test1 and Test2 will share the same FMS3 application and will connect to server. Both modules will receive the streams of each other when connect to server. Below are the steps to start with chat application- 1: Create a new Flash File and name it to Test1.fla 2: In the Document Class text box in the Property inspector of flash document, write Test1 The simple interface of this application could be- 3: Create an ActionScript 3.0 file and name it to Test1.as and write the following lines in it. package { import flash.media.Camera; import flash.media.Microphone; import flash.media.Video; import flash.events.NetStatusEvent; import flash.display.Sprite; import flash.net.NetConnection; import flash.net.NetStream; public class Test1 extends Sprite{ private var netConnection:NetConnection; private var rtmpStr:String; private var nsSubscribe:NetStream; private var nsPublish:NetStream; private var camera:Camera; private var microphone:Microphone; private var user1Video:Video; private var user2Video:Video; public function Test1 (){ rtmpStr="rtmp://localhost/simplechat"; //localhost can be replaced with your LAN IP or remote server IP points to FMS server. attachCamera(); attachMicrophone(); attachVideoObjects(); netConnection=new NetConnection(); netConnection.addEventListener (NetStatusEvent.NET_STATUS,checkForConnection); netConnection.connect(rtmpStr); } private function checkForConnection(event:NetStatusEvent):void{ event.info.code == "NetConnection.Connect.Success"; if (event.info.code){ nsPublish=new NetStream(netConnection); nsPublish.attachAudio (microphone); nsPublish.attachCamera (camera); nsPublish.publish("user1","live"); nsSubscribe=new NetStream(netConnection); nsSubscribe.play("user2"); user2Video.attachNetStream(nsSubscribe); } } private function attachCamera(){ camera=Camera.getCamera(); camera.setKeyFrameInterval (9); camera.setMode (240,180,15); camera.setQuality (0,80); } private function attachMicrophone(){ microphone=Microphone.getMicrophone(); microphone.gain=80; microphone.rate=12; microphone.setSilenceLevel(15,2000); } private function attachVideoObjects(){ user1Video=new Video(camera.width,camera.height); addChild(user1Video); user1Video.x=25; user1Video.y=35; user1Video.attachCamera(camera); user2Video=new Video(camera.width,camera.height); addChild(user2Video); user2Video.x=(user1Video.x+ camera.width +15); user2Video.y=user1Video.y; } } } 4: Save the Test1.as file and then publish Test1.fla to generate swf, html and JavaScript file. 5: Repeat the step 2, 3 and 4 with little change. In the Document Class text box in the Property inspector of flash document, write Test2 Now the .fla file will be named as Test2.fla and .as file will be named as Test2.as. The changes in the Test2.as file will be- public function Test2() in place of public function Test1() nsPublisher.publish("user2","live"); in place of nsPublisher.publish("user1","live"); nsSubscriber.play("user1"); in place of nsSubscriber.play("user2"); 6: Save the Test2.as file after these changes and publish the Test2.fla file to generate swf, html and JavaScript file. Test the application with two users on two different computers with Mic and Camera. One user will open Test1.html file and other user will open Test2.html file and both will see each other's video as given in below picture. This was the simplest two-way A/V chat application with FMS3. The following classes were used in this tutorial. Camera Microphone Video NetStatusEvent Sprite NetConnection NetStream You can read more about these API from the LiveDocs. You can also extend this example to work with server side script as well. I remember when many users were looking for a solution to secure the RTMP stream, then i worked with Stunnel(Secure Your Red5 Applications With Stunnel) to implement the RTMPS functionality which FMS provides. That time i was able to achieve this, but this was kind of hack.
Today morning, i read the post of Paul Gregorie that Red5 has come up with a real RTMPS solution. Below in this post, i am following him. ![]() RTMPS is RTMPT over SSL. Here are the steps to setup Red5 to support RTMPS- Create a self-signed certificate This process is pretty much known to everyone who worked with signed applet kind of stuffs. Here it is- keytool -genkey -alias red5 -keyalg RSA -keysize 512 -validity 3650 \ -keystore keystore -keypass password -storepass password \ -dname "CN=localhost,OU=Red5,O=Red5,L=Henderson,ST=NV,C=US" The above command is having the options that can be modified according to your requirement like DName fields: Location (L), State (ST), and Country (C). The above command generate a file called "keystore". We will use it later. Get Red5 RTMPS implementation is not the part of Red5 0.7.0, so in order to use RTMPS, you need to take the code from Red5 SVN repository from revision 2819 onwards. Configuration Now you have Red5 setup in your machine, copy the "keystore" file we created earlier step into conf directory (overwrite the current keystore file in the directory if prompted). The configuration file containing the parameter for RTMPS is conf/red5-core.xml and you will need to update the RTMPS section if you changed the keystore password. The other configuration file is red5.properties, it contains the port assignments for the supported protocols. Make sure that you have your ports configured correctly. According to Adobe, the default port for RTMPS is 443, normally reserved for HTTPS. If you change this port to something other than 443 you will need to update your NetConnection urls with the correct port. For advance options on SSL configuration, this page will help. Test Start the server and test your applications. Go to http://localhost:5080/demos/oflaDemo.swf and change the rtmp url to rtmps://localhost/oflaDemo. You can also enable debugging option, here it is how- Debugging To see what is going on with SSL at a really low level you can enable this option in your startup: -Djavax.net.debug=ssl It will cause additional information to be displayed on the console. Red5 is getting hot and hot everyday with new features. Waiting to hear support of many new features in near future. Great work Red5 Team. See Also: Secure Your Red5 Applications With Stunnel Reference:- RTMPS in Red5 In a prerelease of Adobe Flash Player 10 code name "Astro", the noticable features are audio and video features which will be available with proposed future release of Adobe Flash Media Server.
Dynamic Streaming As streaming is dependent on newtwork condition, Dynamic Streaming will provide best quality video and will be auto adjustable based on bandwidth availability. Video streams over RTMP from proposed future releases of Flash Media Server can dynamically change bitrate as network conditions change. RTMFP (Real Time Media Flow Protocol) According to Adobe- RTMFP provides a UDP-based secure network transport alternative to RTMP-over-TCP. To take advantage of the feature you will need to establish a net connection via future releases of Flash Media Server or other Adobe server products. UDP (User Datagram Protocol) is an efficient and standardized Internet protocol for delivering media assets because of its support for lossy delivery, improving performance of real time communication. RTMFP is always encrypted which helps protect media delivery. This technology is a result of Adobe's acquisition of Amicima, Inc. in 2006. To know more about this new protocol, read RTMFP FAQ. UDP Streaming. What would be the reaction of Red5 team? Speex Audio Codec The new, higher fidelity Speex voice codec that delivers the lowest-latency audio experience. The complete feature list is here. Reference:- Adobe Flash® Player 10 beta Today, I read two interesting blog posts "360 Degree Interactive Video" and "Multibitrate Support Coming to Flash Player and FMS (?)" written by Stefan Richter from Flashcomguru.com talking about 360 degree interactive video served by flash and possible upcoming features in flash player and FMS.
360 degree videos from Immersive Media are looking very impressive. Just drag your mouse on any direction you want to view within the video once it starts playing. More videos are here at - http://demos.immersivemedia.com/onlinecities/ Here is the video where kevin Towers shows how Flash Media Interactive Server, Flash Media Streaming Server and Flash Media Rights Managment Server are leading the way in the protection and streaming of digital video today. Reference:- 360 Degree Interactive Video Multibitrate Support Coming to Flash Player and FMS (?) Adobe at NAB 2008- Flash Media Server Few days back, I wrote about an interesting application called Open Dialect, a free open source flash IDE written in C# using .Net 2.0 framework.
In my previous post, I mentioned that OpenDialect team is porting this application on Linux too. Today they have announced the release of Open Dialect 0.2.0 (Linux/Windows Flash IDE). Open Dialect 0.2.0 supports .SWF creation and testing on Linux and Windows, with partial support for OS X 10.5. You can check Open Dialect in action here at- http://www.t21northamerica.com/T21NorthAmerica.html To know more about this release or Open Dialect, follow the links in reference. Reference:- Open Dialect, Open source alternate of flash IDE About Open Dialect Open Dialect on Osflash Screenshots Open Dialect is an open source Flash IDE based on Flex. It's written in C# using .Net 2.0 framework. They call it Dynamic Inter-Active Learning Environment Creation Tool. The software is meant for creating interactive learning Environments.
To know in detail about the this open source flash IDE, Follow the Open Dialect wiki here. Below is the screenshot of open Dialect IDE. ![]() More screenshots are available here. Open Dialect 0.1.1 is available for Windows but they are porting it on Linux and OSX using MONO and GTK+. The available demo for showing the capabilities of Open Dialect is here. References:- Open Dialect Open Dialect HomePage Open Dialect Main Website With the development of Adobe flash media server and Red5 flash server new protocols are also coming in picture.
Here are some protocols for streaming of Audio/Video using Flash media server and Red5. RTMP Real Time Messaging Protocol RTMP is a TCP based propriety protocol developed by Adobe System for the purpose of streaming Audio/Video data between Flash Player and media server. RTMPT Real Time Messaging Protocol with Tunnel RTMPT is a variation of RTMP which works behind the firewall as well. It works on Port 80 and encapsulate the RTMP data in HTTP request. RTMPS Real Time Messaging Protocol Secure RTMPS is again a variation of RTMP which works over secure HTTPS connection. RTMPE Real Time Messaging Protocol with Encryption RTMPE is a new 128 bit encrypted protocol developed by Adobe systems for securing the stream data between flash client and server. It's lightweight than SSL. It's a DRM solution from Adobe for flash. RTMPTE Real Time Messaging Protocol with Encryption and Tunnel RTMPTE is a RTMPE tunneling over HTTP on port 80. MRTMP Multiplex Real Time Messaging protocol Multiplex RTMP is a protocol between edge and origin, developed by Red5 for clustering of stream data using Terracotta. Related Post H.264 On RTMP Adobe has relased Adobe Flash Media Rights Managment server. It's a platform to protect the media contents delivered to Adobe Media Player and Adobe AIR™ applications.
It's a DRM( Digital Rights Managment ) solution for Flash Video. Some of the features of Adobe Flash Media Rights Managment server are listed below- Cross-platform content delivery Protect media content delivered to Adobe® Media Player and Adobe AIR™ applications. Content protection with Adobe Media Player ensure the integrity of your content when you deliver it to Adobe Media Player users. Offline access auditing Track usage of your content when viewed through Adobe Media Player, even when consumers are offline. For detail list of features, visit Adobe website here. To know in detail about this new server follow the article of Tim Siglin here. References:- Adobe Flash Media Rights Management Server Adobe Offers DRM for Flash Video with Flash Media Rights Management Server Flash Media Rights Management Server Announced (and Released) Red5 Changelog
---------------------------------------------------------- Red5 v0.7.0 final 02.23.2008 New Features: - Initial Edge/Origin clustering support for multiple Edges with a single Origin (Jira APPSERVER-66) - Added stream listeners that can get notified about received packets - Support for server-side Javascript (Jira APPSERVER-169) - Added new base class org.red5.server.adapter.MultiThreadedApplicationAdapter that allows multiple clients to connect simultaneously to the same application - Added new Flash Player 9 statuses NetStream.Play.FileStructureInvalid and NetStream.Play.NoSupportedTrackFound - New Flex admin tool (Jira APPSERVER-242) Bugfixes: - Pause near end of buffered streams works as expected (Jira APPSERVER-199) - Fixed potential memory leak with RTMPT connections that are not properly closed (Jira APPSERVER-193) - "onMetaData" is only written to newly recorded FLV files and contains valid properties now - Don't try to decode objects for closed RTMPT connections (Jira APPSERVER-208) - New multi-threaded connection code fixes various timeout issues (Jira APPSERVER-122, Jira APPSERVER-166 and Jira APPSERVER-167) - Always use correct classloader inside applications (Jira APPSERVER-200) - Tomcat cannot undeploy red5 application (Jira APPSERVER-204) - "ByteArray" objects used old data after calling "compress" or "uncompress" (Jira APPSERVER-211) - "@DontSerialize" checks for properties also in inherited classes (Jira APPSERVER-225) - Enabled bidirectional class serialization (Jira APPSERVER-219) - Array typed parameters in remoting service methods converted properly (Jira APPSERVER-161) References:- http://jira.red5.org/secure/Dashboard.jspa http://osflash.org/red5/070final ![]() Another great software from open source. Few days back I wrote here about Red5 load balancing using Terracotta . In this post I will write little bit about Terracotta technology. Terracotta is an open source JVM clustering software for Java.It means the applications running on multiple JVMs are capable to interact with each other as they are running on a same JVM. They call it- Network Attached Memory: Purpose Built To Store "Scratch Data". Terracotta is useful in following scenarios:- 1:- HTTP Session Clustering 2:- Distributed Caching 3:- POJO Clustering/Spring integration 4:- Hibernate Caching 5:- Inter-JVM Coordination 6:- Collaboration, Coordination and Events 7:- Distributed workload distribution 8:- Virtual heap for large dataset To know more about Terracotta follow the link here or watch very impressive demo here. References:- 1:- Terracotta official website 2:- Terracotta Wiki 3:- Introduction to Terracotta with Example 4:- Terracotta Tech- Cluster your JVM- The Video 5:- Using Terracotta To Cluster a Single JVM Master/Worker Application Today morning i got a news here on red5 mailing list about the implementation of H.264 on RTMP by a Japanese guy.
The blog is in Japanese. Below are the links for detail information on this. Feed Demo Page (English compatible click once to enable audio) http://vixy.tv/izumi-h264/ Programmer's blog (written in Japanese) http://d.hatena.ne.jp/takuma104/20080317/1205783390 Demo Video on Server Start http://vixy.tv/images/izumi_h264_demo.mp4 Now its time for Red5 team to comeup with H.264 solution. Hope to hear it soon :) Below is the offline version of many great Red5 tutorials so that you do not need to be online more to read them again.
|
|
contact |