Package | de.spring.sensors |
Class | public class SpringStreams |
Inheritance | SpringStreams ![]() |
Subclasses | SpringStreams |
Property | Defined By | ||
---|---|---|---|
maxstates : int = 50 | SpringStreams | ||
pausesync : int = 6
after 1 second of pause (6 events of the timecollect timer means bit more than one second) synchronize data
| SpringStreams | ||
syncrate : int = 20
synchronize ever 20 seconds of linear video
| SpringStreams |
Property | Defined By | ||
---|---|---|---|
domain : String = @DOMAIN@ [static] | SpringStreams | ||
urlpart : String = .@DOMAIN@/j0= [static] | SpringStreams | ||
version : String = AS3 1.5.0 [static] | SpringStreams |
Method | Defined By | ||
---|---|---|---|
SpringStreams(site:String, ssl:Boolean = false)
Creates an instance of SpringStreams. | SpringStreams | ||
debug(v:Object):void
If set to true the library
logs some internal actions. | SpringStreams | ||
error(v:Object, e:Error = null):void | SpringStreams | ||
getSyncRates():Array | SpringStreams | ||
getVersion():String
Return the version of the spring lib
| SpringStreams | ||
SpringStreams | |||
track a single netstream object. | SpringStreams | ||
unload():void
external callback, synchronize and unload all open streams. | SpringStreams |
domain | property |
protected static var domain:String = @DOMAIN@
maxstates | property |
public var maxstates:int = 50
pausesync | property |
public var pausesync:int = 6
after 1 second of pause (6 events of the timecollect timer means bit more than one second) synchronize data
syncrate | property |
public var syncrate:int = 20
synchronize ever 20 seconds of linear video
urlpart | property |
protected static var urlpart:String = .@DOMAIN@/j0=
version | property |
protected static var version:String = AS3 1.5.0
SpringStreams | () | Constructor |
public function SpringStreams(site:String, ssl:Boolean = false)
Creates an instance of SpringStreams.
Parameterssite:String — The sitename
| |
ssl:Boolean (default = false ) — if adapt ssl secure transmission
|
debug | () | method |
public function debug(v:Object):void
If set to true
the library
logs some internal actions. Use this
to check the implementation.
Parameters
v:Object — boolean value, if set debug mode
|
error | () | method |
public function error(v:Object, e:Error = null):void
Parameters
v:Object | |
e:Error (default = null )
|
getSyncRates | () | method |
public function getSyncRates():Array
ReturnsArray |
getVersion | () | method |
public function getVersion():String
Return the version of the spring lib
ReturnsString |
send | () | method |
track | () | method |
public function track(adapter:StreamAdapter, att:Object):Stream
track a single netstream object. the NetStream may be described by the att parameter, and it may be configured into autocapture mode. if captureEvents is true.(See the sample of the NetsStreamAdapter attached)
Parameters
adapter:StreamAdapter — The stream adapter which handles the access to the underlying streaming content
| |
att:Object — A 'map' which contains information about the streaming content.
|
Stream |
unload | () | method |
public function unload():void
external callback, synchronize and unload all open streams.