Client.videoSampleAccess False-Negative

In past versions of FMS, developers were barred from accessing raw audio and video data over RTMP and had to resort to a number of hacks and proxies to get around the restriction.  As time went by and new versions of the Flash Player were released, a lot of these loopholes were blocked as well. With FMS3, there is Client.videoSampleAccess: a property of the Flash Media Server 3 that allows direct access to raw stream data for video use (“audioSampleAccess” for audio).  This can be used for things like producing visual audio spectrums or grabbing a still from a video

Continue reading »

Flash Media Interactive Server 3

We’ve been running Flash Media Interactive Server 3 for over two weeks now on one of our media servers and I couldn’t be happier with the results. I was going to put off the upgrade from FMS2 for a few months while testing and waiting on a point release, but after having so many issues with FMS2 and with the security patch released last week, decided to just push ahead. I’d recommend anyone having weird issues with FMS2 to upgrade as soon as you possibly can. It only takes about 15 minutes and will preserve all your current applications. I

Continue reading »

Remoting through Flex with Coldfusion

I’m used to setting the ObjectEncoding to AMF0 when working with Flash Media Server 2, but haven’t realized till now that I also am required to do this when communicating with Coldfusion 8 through remoting: 1 2 3 import flash.net.NetConnection; import flash.net.ObjectEncoding; NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;import flash.net.NetConnection; import flash.net.ObjectEncoding; NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0; The error “Unknown object type tag (17)” was being generated by CF8 as I attempted to pass an Object in AS3 over remoting to CF8 interpreted as a Structure. Apparently, there is also the need to wrap any such Object within a container Object for it to be properly

Continue reading »

Flash Media Server 3 Announced

I really, really hope that one of the improvements is a better security model when it comes to RTMP security restriction when accessing byte-level data… PLEASE, Adobe… Allow developers to access RTMP streams via BitmapData.draw() and SoundMixer.computeSpectrum()… please! Features important to my projects include: Improved performance H.264 and AAC streaming support New security features Improved live video support Tracking Read more at the FAQ: http://www.adobe.com/aboutadobe/pressroom/pdfs/FMS3FAQ.pdf

Continue reading »

Red5: Nice Alternative to Flash Media Server

I’ve put off experimenting with Red5 until today as I’m quite happy with Adobe’s solution (Flash Media Server) and Red5 is still deep in beta-land at the time of this writing. I was able to install the server on Windows Vista and had a custom FLV stream piggybacked in a preconfigured sample application directory running in about 40 minutes. The structure is not entirely different from FMS, but is drastic enough to cause me a bit of confusion. For example, with FMS applications, you have an application directory within which are normally a “main.asc” file to configure the app, and

Continue reading »

Juggling RTMP Stream Data Via Proxy

I’m working on a way to proxy stream data from Flash Media Server to client applications on separate domains. There should be a simple mechanism in place to take care of such security restrictions, but since there is not, my plan is to create a proxy SWF that lives on the same domain as FMS and deals with the collection of BitmapData and ByteArray object data which is then able to be accessed by the parent SWF. Not sure if this will work or if the security sandbox prevents access to RTMP data unconditionally. I know this method has been

Continue reading »

SoundMixer.computeSpectrum() and RTMP Violations

Same issues as with BitmapData.draw() and RTMP… SecurityError: Error #2135: Security sandbox violation: SoundMixer.computeSpectrum: RTMP content cannot be accessed using this API. I hate to sound like a broken record… and I know there are probably some really good reasons for this- but there should be a way around this RTMP security restriction. Developers want to do all the great things with Flash Media Server as they are able to do with a simple transfer over HTTP. This includes byte-level access to our data streams! To cripple us in this way (however good-intentioned) is bad for Adobe, bad for developers,

Continue reading »