/*****************************************************
*
* Copyright 2009 Adobe Systems Incorporated. All Rights Reserved.
*
*****************************************************
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
*
* The Initial Developer of the Original Code is Adobe Systems Incorporated.
* Portions created by Adobe Systems Incorporated are Copyright (C) 2009 Adobe Systems
* Incorporated. All Rights Reserved.
*
*****************************************************/
package org.osmf.elements.f4mClasses
{
import flash.utils.ByteArray;
/**
* Describes a specific piece of media.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
internal class Media
{
/**
* Information about the |AdditionalHeader used with the media. |AdditionalHeader
* contains DRM metadata.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var drmAdditionalHeader:DRMAdditionalHeader = new DRMAdditionalHeader();
/**
* Represents all information needed to bootstrap playback of
* HTTP streamed media. It contains either a byte array
* of, or a URL to, the bootstrap information in the format that corresponds
* to the bootstrap profile. It is optional.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var bootstrapInfo:BootstrapInfo;
/**
* The stream metadata in its binary representation.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var metadata:Object;
/**
* The XMP metadata in its binary representation.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var xmp:ByteArray;
/**
* Location of the media.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var url:String;
/**
* The bitrate of the media in kilobits per second.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var bitrate:Number;
/**
* Represents the Movie Box, or "moov" atom, for one representation of
* the piece of media. It is an optional child element of <media>.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var moov:ByteArray;
/**
* Width of the resource in pixels.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var width:Number;
/**
* Height of the resource in pixels.
*
* @langversion 3.0
* @playerversion Flash 10
* @playerversion AIR 1.5
* @productversion OSMF 1.0
*/
public var height:Number;
}
}