Main Page | Packages | Class Tree | Index | Help

mx.controls.streamingmedia

class RTMPConnection

Object
  |
  +--NetConnection
        |
        +--mx.controls.streamingmedia.RTMPConnection


class RTMPConnection
extends NetConnection

A subclass of NetConnection that is tailored to work with the RTMPPlayer class.


Author:
Stephen Cheng


Field Summary

static
_connectFlag: Boolean
Flag to indicate whether a thread is already in connect().

static
_connectorQueue: Array
Array of queued RTMPPlayers, awaiting their turn to call connect().

Fields inherited from class NetConnection

isConnected, uri

Fields inherited from class Object

__proto__, constructor, prototype

Constructor

public
RTMPConnection ( player: RTMPPlayer)


Method Summary

public
connect ( targetURI: String, streamName: String ): Void
Only one thread can be in this function at a time.

public
onMetaData ( info )


Methods inherited from class NetConnection

addHeader, call, close, connect, onResult, onStatus

Methods inherited from class Object

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



Field Documentation

_connectFlag

static var _connectFlag: Boolean
Flag to indicate whether a thread is already in connect().

Only one thread at a time should be in this function.

_connectorQueue

static var _connectorQueue: Array
Array of queued RTMPPlayers, awaiting their turn to call connect().


Constructor Documentation

RTMPConnection

public function RTMPConnection(player: RTMPPlayer)

Method Documentation

connect

public function connect(targetURI: String,
 streamName: String): Void
Only one thread can be in this function at a time.

Overrides:

onMetaData

public function onMetaData(info)

The documentation was generated from the following file:


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