FMS registerClass Example Added To github

Hi folks, apologies about the extended radio silence; I've been busy working on a new project which has taken up a lot of my time. The good news is that I am learning a ton of new stuff in the process which in turn should provide me lots to blog about. Expect posts about Rails, heroku, JavaScript, AWS and maybe even Flash ;-)

I've also just discovered a treasure trove of old projects and sample files and I've decided to offload many of them onto github. It would be a real shame to lose all this stuff, some of which is of course pretty useless whereas others may be useful to some folks. It'll be tricky to pick the right stuff as no doubt I will not be able to post everything I've got floating around...
So to make a start (and with the hope to keep this up) here's my first little Flash sample project. This one shows how to use registerClass to send custom typed ActionScript objects over RTMP between client and FMS server (sorry, AMS it is now...). I don't take full credit for it as I cannot remember if this was based on someone else's work or not... if it was you get in touch and I'll provide credit and link juice!

My github account can be found at https://github.com/stoem (not much there yet), and this particular repo is at https://github.com/stoem/FMS-registerClass.

Happy forking you forkers :-)


HLS Best Practices for AMS 5.0 with Sarge, Tuesday 28th August

Adobe Media Server User Group Meeting Tuesday, August 28th

RSVP: http://ams.groups.adobe.com/index.cfm?event=post.display&postid=43945

Topic: HLS Best Practices for AMS 5.0

Speaker: Sarge is a Senior Applications Engineer on Adobe's Video Solutions team. Formerly a FMS Technical Account Manager working with the top tier CDNs, Sarge has years of experience developing, deploying, and supporting Flash video solutions on FMS.

Agenda: Adobe added Apple's HTTP Live Streaming (HLS) to its technology stack with FMS 4.5 a few years ago as a continued investment delivering immersive on-demand and live video experiences over standard HTTP connections to Apple (iOS & MacOS) devices. This technology has been deployed at CDNs such as Akamai, Limelight, and Level 3, and used by broadcasters like the BBC for the London 2012 Olympics. Adobe updated its HLS workflows in Adobe Media Server 5 -- adding an offline packager, updated Just-in-Time encryption, and DRM support for iOS devices using and new Adobe Access 4 (AXS) technology. Come learn the recommended best practices for deploying HLS with AMS 5.0 from Sarge, Sr. Applications Engineer for Adobe Video Solutions.

Encode high quality video mezzanine MP4 files and deliver them in real-time simultaneously through RTMP, HDS, and HLS.
Configure HLS settings to optimize HTTP caching.
Add DRM to your iOS publishing workflows.

Sarge walks you through the changes to HLS in AMS 5.0, including:
Just in Time packaging (JITP) encryption
Offline packaging with the HLS Segmenter
iOS DRM

http://ams.groups.adobe.com/index.cfm?event=post.display&postid=43945


Adobe To Shut Down LCCS, Customers Badly Affected

After several recent announcement around Adobe's LiveCycle platform, it may not come as a surprise to some that the LiveCycle Collaboration Service (formerly Cocomo, formerly Flash Collaboration Service) will be shut down at the end of 2012. What may be a surprise however is the relatively short notice that Adobe is giving existing customers and a total lack of a migration path, leaving many people in a real tight spot.

Remember that LCCS is a hosted collaboration service, effectively cloud based, that allows developers to build real-time communications right into their Flex applications. The work that has gone into LCCS is impressive, and the platform offers a range of great features such as room provisioning APIs, live and audio and video communications (both over RTMFP and RTMP) and even screensharing capabilites (but let's not warm that topic up again...).

› Read Full Article


FMS/Wowza/Red5 Broadcaster App For Android

As one of the main contributors to the Red5 project, Paul Gregoire is a well known name in the community. Yesterday he posted a link to an AIR for Android app he built to the Flash Media List and I'm republishing his link here as I think many of you will find this app quite useful.

The Broadcaster Android app allows you to broadcast audio and video to an RTMP server such as Red5, and also works with FMS and Wowza. What's more, the app is free and will run on pretty much any Android device with Android 2.2 and up.

You can download the Broadcaster app from the Android Market.

But apart from being useful, the app also shows that AIR for Android can be quite versatile and allows you to easily publish what is essentially a Flex application to a mobile platform.


Hacking FCSubscribe Support Around OSMF

Recently I had the task of recreating a video player for a customer for which no source code was available. The player needed to support on demand and live streaming, so I opted for an OSMF based player - why reinvent the wheel?

Things went well until the time came to add the live streaming support. The chosen CDN uses the FCSubscribe method for live streaming. In case you don't know, FCSubscribe is a serverside method which the player needs to call in order to instruct the CDN to deliver the requested stream to the edge server that you are connected to in order to play the stream.
Some CDNs (including Akamai and Limelight) provide custom OSMF plugins for this task, and if your CDN does the same then you have nothing else to do apart from using their plugin and you are set. However some CDNs do not (yet) provide such plugins, and since the task of creating one is no mean feat (and it was certainly not part of the budget for the player I was working on), another solution had to be found.

› Read Full Article


FMS Bandwidth Tester App Works Again

I've just fixed the (now ancient) FMS bandwidth tester. It's based on some pretty old code by Adobe engineer Pritham Shetty and wasn't working since I rebranded the blog - well now it's functional again and I plan to connect it to a new server soon.

The neat thing about this FMS app is that it checks bandwidth both to and from the server - this is very useful if you build RTC based apps that utilise things such as webcam video or live audio.
If right now the speed results seem low then that's probably due to the very old machine I'm using to host the app... Believe it or not, the server is still the same one from back in 2005!

FMS bandwidth tester


Forum Posts Resurrected

Due to several enquiries I've had over the last few weeks I have decided to put the old FlashComGuru forum back online for reference pirposes. It can be found at forum.therealtimeweb.com (or http://www.therealtimeweb.com/forum) and has been put there for reference purposes only. I have no plans to enable new signups again but would encourage people to sign up to this site's mailing list instead.


Flash Media Server 4.5 Is Out, Adds Support For HLS Video (iOS)

I know I am late to the game with this post (sorry, been busy...) but it's nevertheless worth noting that Flash Media Server 4.5 is now out.
So what's new in this version? Most notable is the support for HLS streaming - with this FMS is now capable of delivering live and on-demand video to devices and HTML5 browsers supporting the HTTP Live Streaming (HLS) and HTTP Dynamic Streaming (HDS) formats, which most importantly includes iOS devices.
Now despite what some sensationalist 'tech blogs' would have you believe this is not 'Flash-free Flash on iOS'. Instead this new feature offers the possibility to deliver a particular piece of video content to more than one platform via FMS. The server achieves this by repackaging the existing video file into a compatible format for delivery over HDS and HLS. This means that publishers don't have t worry ahead of time about the platforms they want to target and can now deliver the same piece of media to both Flash and iOS.

Check out FMS 4.5 and download the free developer edition from Adobe's website.


Configuring RTMFP Unicast on EC2

A few weeks ago I was testing some of the FMS4 features on a Windows EC2 instance. My goal was to use RTMFP (usually used for peer to peer communications in Flash) in a client-server mode, basically replacing RTMP in order to achieve lower latency.
In case you do not want to read the entire post below, here's were I went wrong:
1) I did not open port 1935 over UDP, only TCP. As it turned out, RTMFP does require port 1935 over UDP for the initial contact. 2) I didn't configure the HostPort directive in Adaptor.xml correctly. Instead of adding the public attribute I had added the IP just to the node valu.
Instead of

view plain
1<HostPort public="50.19.224.164:19350-65535">:19350-65535</HostPort>

I had configured
view plain
1<HostPort>50.19.224.164:19350-65535</HostPort>

After correcting that I was able to connect via RTMFP. This also works when the Windows firewall is turned on, all I configured there was to allow the FMS .exe files through.
So that's the solution - more detailed info follows below.

› Read Full Article


Google's WebRTC Will Bring Real-Time Communications To The Browser

*** Update, follow-up post added ***

Interesting news:
http://sites.google.com/site/webrtc/home

The WebRTc project by Google aims to enable web browsers with RTC capabilities over JavaScript APIs. For me this may just be the incentive to pick up JavaScript again. For FMS this means even more pressure outside its core function of streaming video.

› Read Full Article


More Entries