Main Page | Packages | Class Tree | Index | Help

mx.controls.streamingmedia

class PlayerNetStream

Object
  |
  +--NetStream
        |
        +--mx.controls.streamingmedia.PlayerNetStream


class PlayerNetStream
extends NetStream

A subclass of NetStream that is tailored to work with the FLVPlayer class.


Author:
Andrew Guldman


Fields inherited from class NetStream

bufferLength, bufferTime, bytesLoaded, bytesTotal, currentFps, liveDelay, time

Fields inherited from class Object

__proto__, constructor, prototype

Property Summary

public
player: IPlayer (read, write)


Constructor

public
PlayerNetStream ( nc: NetConnection, aPlayer: IPlayer)
Constructor takes two mandatory parameters.

Method Summary

public
attachAudio ( theMicrophone: Microphone ): Void


public
attachVideo ( theCamera: Camera, snapshotMilliseconds: Number ): Void


public
close ( ): Void


public
detect ( )
Detect when the video object's width and height are set.

public
getPlayer ( ): IPlayer


public
onMetaData ( info )
This is the handler which will process meta information The argument passed in is an array.

public
onStatus ( info )
onStatus function for the NetStream.

public
pause ( shouldPause: Boolean ): Void
Add debugging logging call.

public
play ( name: Object, st: Number, len: Number, reset: Object )


public
seek ( offset: Number ): Void


public
setPlayer ( aPlayer: IPlayer )


Methods inherited from class NetStream

attachAudio, attachVideo, close, onResult, onStatus, pause, play, publish, receiveAudio, receiveVideo, seek, send, setBufferTime

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Property Documentation

player

public player: IPlayer (read, write)

Constructor Documentation

PlayerNetStream

public function PlayerNetStream(nc: NetConnection,
 aPlayer: IPlayer)
Constructor takes two mandatory parameters.

Parameters:
nc
The NetConnection used by this NetStream
aPlayer
The IPlayer associated with the NetStream

Method Documentation

attachAudio

public function attachAudio(theMicrophone: Microphone): Void
Overrides:

attachVideo

public function attachVideo(theCamera: Camera,
 snapshotMilliseconds: Number): Void
Overrides:

close

public function close(): Void
Overrides:

detect

public function detect()
Detect when the video object's width and height are set.

getPlayer

public function getPlayer(): IPlayer

onMetaData

public function onMetaData(info)
This is the handler which will process meta information The argument passed in is an array.

onStatus

public function onStatus(info)
onStatus function for the NetStream.

"this" is the NetStream object.

Overrides:

pause

public function pause(shouldPause: Boolean): Void
Add debugging logging call.

Overrides:

play

public function play(name: Object,
 st: Number,
 len: Number,
 reset: Object)
Overrides:

seek

public function seek(offset: Number): Void
Overrides:

setPlayer

public function setPlayer(aPlayer: IPlayer)

The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc