mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
78 lines
2.4 KiB
ActionScript
78 lines
2.4 KiB
ActionScript
package org.osmf.events
|
|
{
|
|
import flash.events.Event;
|
|
import org.osmf.net.httpstreaming.f4f.AdobeBootstrapBox;
|
|
import org.osmf.net.httpstreaming.flv.FLVTagScriptDataObject;
|
|
|
|
public class HTTPStreamingFileHandlerEvent extends Event
|
|
{
|
|
|
|
public static const NOTIFY_SEGMENT_DURATION:String = "notifySegmentDuration";
|
|
|
|
public static const NOTIFY_SCRIPT_DATA:String = "notifyScriptData";
|
|
|
|
public static const NOTIFY_BOOTSTRAP_BOX:String = "notifyBootstrapBox";
|
|
|
|
public static const NOTIFY_ERROR:String = "notifyError";
|
|
|
|
private var _segmentDuration:Number;
|
|
|
|
private var _scriptDataObject:FLVTagScriptDataObject;
|
|
|
|
private var _scriptDataFirst:Boolean;
|
|
|
|
private var _scriptDataImmediate:Boolean;
|
|
|
|
private var _abst:AdobeBootstrapBox;
|
|
|
|
private var _error:Boolean;
|
|
|
|
public function HTTPStreamingFileHandlerEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:Number = 0, param5:FLVTagScriptDataObject = null, param6:Boolean = false, param7:Boolean = false, param8:AdobeBootstrapBox = null, param9:Boolean = false)
|
|
{
|
|
super(param1,param2,param3);
|
|
this._segmentDuration = param4;
|
|
this._scriptDataObject = param5;
|
|
this._scriptDataFirst = param6;
|
|
this._scriptDataImmediate = param7;
|
|
this._abst = param8;
|
|
this._error = param9;
|
|
}
|
|
|
|
public function get segmentDuration() : Number
|
|
{
|
|
return this._segmentDuration;
|
|
}
|
|
|
|
public function get scriptDataObject() : FLVTagScriptDataObject
|
|
{
|
|
return this._scriptDataObject;
|
|
}
|
|
|
|
public function get scriptDataFirst() : Boolean
|
|
{
|
|
return this._scriptDataFirst;
|
|
}
|
|
|
|
public function get scriptDataImmediate() : Boolean
|
|
{
|
|
return this._scriptDataImmediate;
|
|
}
|
|
|
|
public function get bootstrapBox() : AdobeBootstrapBox
|
|
{
|
|
return this._abst;
|
|
}
|
|
|
|
public function get error() : Boolean
|
|
{
|
|
return this._error;
|
|
}
|
|
|
|
override public function clone() : Event
|
|
{
|
|
return new HTTPStreamingFileHandlerEvent(type,bubbles,cancelable,this.segmentDuration,this.scriptDataObject,this.scriptDataFirst,this.scriptDataImmediate,this.bootstrapBox,this.error);
|
|
}
|
|
}
|
|
}
|
|
|