W3cubDocs

/Haxe Flash

NetStream

package flash.net

extends EventDispatcher

Available on flash

Constructor

new (connection:NetConnection, ?peerID:String)

Variables

read only audioCodec:UInt

@:require(flash10_1) audioReliable:Bool

@:require(flash10_1) audioSampleAccess:Bool

@:require(flash10_1) read only backBufferLength:Float

@:require(flash10_1) backBufferTime:Float

read only bufferLength:Float

bufferTime:Float

@:require(flash10_1) bufferTimeMax:Float

read only bytesLoaded:UInt

read only bytesTotal:UInt

checkPolicyFile:Bool

client:Dynamic

read only currentFPS:Float

@:require(flash10_1) dataReliable:Bool

read only decodedFrames:UInt

@:require(flash10) read only farID:String

@:require(flash10) read only farNonce:String

@:require(flash10_1) inBufferSeek:Bool

@:require(flash10) read only info:NetStreamInfo

read only liveDelay:Float

@:require(flash10) maxPauseBufferTime:Float

@:require(flash10_1) multicastAvailabilitySendToAll:Bool

@:require(flash10_1) multicastAvailabilityUpdatePeriod:Float

@:require(flash10_1) multicastFetchPeriod:Float

@:require(flash10_1) read only multicastInfo:NetStreamMulticastInfo

@:require(flash10_1) multicastPushNeighborLimit:Float

@:require(flash10_1) multicastRelayMarginDuration:Float

@:require(flash10_1) multicastWindowDuration:Float

@:require(flash10) read only nearNonce:String

read only objectEncoding:UInt

@:require(flash10) read only peerStreams:Array<Dynamic>

soundTransform:SoundTransform

read only time:Float

@:require(flash11) useHardwareDecoder:Bool

@:require(flash11_3) useJitterBuffer:Bool

read only videoCodec:UInt

@:require(flash10_1) videoReliable:Bool

@:require(flash10_1) videoSampleAccess:Bool

@:require(flash11) videoStreamSettings:VideoStreamSettings

Methods

@:require(flash10_1) appendBytes (bytes:ByteArray):Void

@:require(flash10_1) appendBytesAction (netStreamAppendBytesAction:String):Void

@:require(flash10_1) attach (connection:NetConnection):Void

attachAudio (microphone:Microphone):Void

@:value({ snapshotMilliseconds : -1 }) attachCamera (theCamera:Camera, snapshotMilliseconds:Int = -1):Void

close ():Void

@:require(flash11_2) dispose ():Void

@:require(flash10) onPeerConnect (subscriber:NetStream):Bool

pause ():Void

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

@:require(flash10) 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

@:require(flash10_1) step (frames:Int):Void

togglePause ():Void

Static variables

@:require(flash10) static read only CONNECT_TO_FMS:String

@:require(flash10) static read only DIRECT_CONNECTIONS:String

Static methods

static resetDRMVouchers ():Void

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