
44
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Client.nearAddress
clientObject.nearAddress
Read-only. The public address the client connected to on the server. This address is public, it is not a behind NAT or
firewall. This is essential information to generate peer redirects when distributing introductions across multiple
servers. The redirect address set must contain known addresses for the target peer as well as the public server address
the target peer is connected to. It is called the near address because from the perspective of the server it is on the near
side of the NAT or firewall.
See Distribute peer introductions across multiple servers.
Availability
Flash Media Server 4.5
Client.nearID
nc.nearId
Read-only. A String indicating the RTMFP identity of the server to which the client is connected. This property has
the same value as the ActionScript 3.0
NetConnection.farID property. This property is meaningful only for RTMFP
connections.
Availability
Flash Media Server 4
Client.nearNonce
nc.nearNonce
Read-only. A String unique to this client. This value appears to another server as its Client.farNonce value. This
value is defined for RTMFP, RTMPE, and RTMPTE connections.
Availability
Flash Media Server 4
Client.onFarAddressChange()
client.onFarAddressChange = function(){}
Invoked when the farAddress of a client has changed. For example, a far address changes when a client transitions
from a LAN to a wireless connection. RTMFP supports connection mobility so the
farAddress for a client can change
without the connection having to disconnect and reconnect.
Use this event to store a list of client far addresses in a global registry or shared datastore to support distributed peer
lookups. See
Distribute peer introductions across multiple servers.
Availability
Flash Media Server 4.5
Client.onGroupLeave
client.onGroupLeave = function(groupspecDigest:String){}
Komentáře k této Příručce