W3cubDocs

/Haxe Flash

NetStream

package flash.net

extends EventDispatcher

Available on flash

Static variables

staticfinalread onlyCONNECT_TO_FMS:String

staticfinalread onlyDIRECT_CONNECTIONS:String

Static methods

staticresetDRMVouchers():Void

Constructor

new(connection:NetConnection, ?peerID:String)

Variables

read onlyaudioCodec:UInt

audioReliable:Bool

audioSampleAccess:Bool

read onlybackBufferLength:Float

backBufferTime:Float

read onlybufferLength:Float

bufferTime:Float

bufferTimeMax:Float

read onlybytesLoaded:UInt

read onlybytesTotal:UInt

checkPolicyFile:Bool

client:Dynamic

read onlycurrentFPS:Float

dataReliable:Bool

read onlydecodedFrames:UInt

read onlyfarID:String

read onlyfarNonce:String

inBufferSeek:Bool

read onlyinfo:NetStreamInfo

read onlyliveDelay:Float

maxPauseBufferTime:Float

multicastAvailabilitySendToAll:Bool

multicastAvailabilityUpdatePeriod:Float

multicastFetchPeriod:Float

read onlymulticastInfo:NetStreamMulticastInfo

multicastPushNeighborLimit:Float

multicastRelayMarginDuration:Float

multicastWindowDuration:Float

read onlynearNonce:String

read onlyobjectEncoding:UInt

read onlypeerStreams:Array<Dynamic>

soundTransform:SoundTransform

read onlytime:Float

useHardwareDecoder:Bool

useJitterBuffer:Bool

read onlyvideoCodec: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(restArgs:Rest<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, restArgs:Rest<Dynamic>):Void

step(frames:Int):Void

togglePause():Void

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