I'm a C# developer completely new to Flash but am attempting to stream a file from Akamai's HD Network using their HD Flash 1.0 configuration.
I have "imported" the video already deployed on the Akamai network, but it seems there is a step where I have to somehow leverage an SWC component to actually make the connection to Akamai work properly.
The docs provided are all using what appears to be a much older version of Flash and don't include an FLA file. However, part of their docs do make it sound trivial to someone more versed in Flash:
Akamai HDNetwork v1.0 - HTTP delivery of FLV files, compatible with Flash player 10.0 (we call it HDN1 for short) - combine a base NetConnection connected to "null" with a com.akamai.hd.HDNetStream. Follow the samples inside the samples\HDN1.0 folder to find out how to do basic live playback, basic VOD, multi-bitrate playback, manual switching, sub-clips, and token authentication.
And also:
com.akamai.hd.HDNetStream— is used for HD Flash 1.0 Streaming
I placed the SWC file in the same folder as the FLA I'm working in, and included this code in the Actions window:
import flash.net.NetConnection;
import com.akamai.hd.HDEvent;
import com.akamai.hd.HDNetStream;
trace("Hi!");
// Magic happens here
.. but I just get compilation errors that the import definitions can't be found. So...not off to a good start.
All I want to do is stream the video - no multi-bitrate configurations or anything crazy - just how to get videos playing using our own SWF files. Does anyone know the easiest way to get up and running with this?