MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manual do Utilizador Página 43

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 172
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 42
40
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Note: If you define the checkBandwidth() function in a server-side script, the client call runs your definition instead of
the definition in the core server code.
Availability
Flash Media Server 3
Client.farAddress
clientObject.farAddress
Read-only. The address from which the server sees the client connection originate. This value is different than
Client.ip because the value of Client.farAddress contains both the IP address and port number for the
connection. This property is called the far address because from the perspective of the server, the address is on the far
side of the NAT or firewall.
Availability
Flash Media Server 4.5
Client.farID
clientObject.farId
Read-only. A String identifying the RTMFP identity of the client. This property has the same value as the ActionScript
3.0
NetConnection.nearID property. This property is meaningful only for RTMFP connections.
Availability
Flash Media Server 4
Client.farNonce
clientObject.farNonce
Read-only. A String unique to this client. This value is defined for RTMFP, RTMPE, and RTMPTE connections.
Availability
Flash Media Server 4
Client.getBandwidthLimit()
clientObject.getBandwidthLimit(iDirection)
Note: This method is not supported over RTMFP connections.
Returns the maximum bandwidth that the client or the server can use for this connection. Use the iDirection
parameter to get the value for each direction of the connection. The value returned indicates bytes per second and can
be changed with the
Client.setBandwidthLimit() method. Set the default value for a connection in the
Application.xml file of each application.
You can call this method from a client-side script. Call the NetConnection.call() method and pass it the name of
the method, a result object, and any arguments, as in the following:
Vista de página 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 171 172

Comentários a estes Manuais

Sem comentários