Packagede.spring.sensors
Classpublic class SpringStreams
InheritanceSpringStreams Inheritance Object
Subclasses SpringStreams



Public Properties
 PropertyDefined 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
Protected Properties
 PropertyDefined By
  domain : String = @DOMAIN@
[static]
SpringStreams
  urlpart : String = .@DOMAIN@/j0=
[static]
SpringStreams
  version : String = AS3 1.5.0
[static]
SpringStreams
Public Methods
 MethodDefined 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
  
send(meta:Meta, what:Object):void
SpringStreams
  
track(adapter:StreamAdapter, att:Object):Stream
track a single netstream object.
SpringStreams
  
unload():void
external callback, synchronize and unload all open streams.
SpringStreams
Property Detail
domainproperty
protected static var domain:String = @DOMAIN@

maxstatesproperty 
public var maxstates:int = 50

pausesyncproperty 
public var pausesync:int = 6

after 1 second of pause (6 events of the timecollect timer means bit more than one second) synchronize data

syncrateproperty 
public var syncrate:int = 20

synchronize ever 20 seconds of linear video

urlpartproperty 
protected static var urlpart:String = .@DOMAIN@/j0=

versionproperty 
protected static var version:String = AS3 1.5.0

Constructor Detail
SpringStreams()Constructor
public function SpringStreams(site:String, ssl:Boolean = false)

Creates an instance of SpringStreams.

Parameters
site:String — The sitename
 
ssl:Boolean (default = false) — if adapt ssl secure transmission
Method Detail
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

Returns
Array
getVersion()method 
public function getVersion():String

Return the version of the spring lib

Returns
String
send()method 
public function send(meta:Meta, what:Object):void

Parameters

meta:Meta
 
what:Object

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.

Returns
Stream
unload()method 
public function unload():void

external callback, synchronize and unload all open streams.