W3cubDocs

/Haxe Flash

NetStream

package flash.net

extends EventDispatcher

Available on flash

Constructor

new (connection:NetConnection, ?peerID:String)

Variables

read only audioCodec:UInt

audioReliable:Bool

audioSampleAccess:Bool

read only backBufferLength:Float

backBufferTime:Float

read only bufferLength:Float

bufferTime:Float

bufferTimeMax:Float

read only bytesLoaded:UInt

read only bytesTotal:UInt

checkPolicyFile:Bool

client:Dynamic

read only currentFPS:Float

dataReliable:Bool

read only decodedFrames:UInt

read only farID:String

read only farNonce:String

inBufferSeek:Bool

read only info:NetStreamInfo

read only liveDelay:Float

maxPauseBufferTime:Float

multicastAvailabilitySendToAll:Bool

multicastAvailabilityUpdatePeriod:Float

multicastFetchPeriod:Float

read only multicastInfo:NetStreamMulticastInfo

multicastPushNeighborLimit:Float

multicastRelayMarginDuration:Float

multicastWindowDuration:Float

read only nearNonce:String

read only objectEncoding:UInt

read only peerStreams:Array<Dynamic>

soundTransform:SoundTransform

read only time:Float

useHardwareDecoder:Bool

useJitterBuffer:Bool

read only videoCodec:UInt

videoReliable:Bool

videoSampleAccess:Bool

videoStreamSettings:VideoStreamSettings

Methods

appendBytes (bytes:ByteArray):Void

appendBytesAction (netStreamAppendBytesAction:String):Void

attach (connection:NetConnection):Void

attachAudio (microphone:Microphone):Void

attachCamera (theCamera:Camera, snapshotMilliseconds:Int = -1):Void

close ():Void

dispose ():Void

onPeerConnect (subscriber:NetStream):Bool

pause ():Void

play (?p1:Dynamic, ?p2:Dynamic, ?p3:Dynamic, ?p4:Dynamic, ?p5:Dynamic):Void

play2 (param:NetStreamPlayOptions):Void

publish (?name:String, ?type:String):Void

receiveAudio (flag:Bool):Void

receiveVideo (flag:Bool):Void

receiveVideoFPS (FPS:Float):Void

resume ():Void

seek (offset:Float):Void

send (handlerName:String, ?p1:Dynamic, ?p2:Dynamic, ?p3:Dynamic, ?p4:Dynamic, ?p5:Dynamic):Void

step (frames:Int):Void

togglePause ():Void

Static variables

static read only CONNECT_TO_FMS:String

static read only DIRECT_CONNECTIONS:String

Static methods

static resetDRMVouchers ():Void

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/net/NetStream.html