Packagecom.akamai.hd
Classpublic class HDVODFormatter
InheritanceHDVODFormatter Inheritance Object

The HDNetwork has a particular means of formatting VOD stream names. To assist player builder who are constructing their own VOD IMBROBjects to hand to HDNetStream to play, this class has a single method format() which will accept a HDMBRObject and return the same object with the internal stream names correctly fotmatted for use with the HDNetwork.

Example usage:
     var myHDMBRObject:HDMBROBject = new HDMBROBject();
     .... // populate the object with your stream and bitrate pairs
     myHDMBRObject = HDMBROBjectFormatter.format(myHDMBRObject);
     myHDNetStreamInstance.play(myHDMBRObject);
     
     

Note - this class must NOT be used to format LIVE stream names, which do not require this formatting function.



Public Methods
 MethodDefined By
  
[static]
HDVODFormatter
Method Detail
format()method
public static function format(value:HDMBRObject):HDMBRObject

Parameters

value:HDMBRObject

Returns
HDMBRObject