MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manuale Utente Pagina 108

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 107
105
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Availability
Flash Media Server 4.5
Example
The following example tells the NetConnection to bind and listen on any IPv4 interfaces at port 31000:
nc.rtmfpBindAddresses = ["0.0.0.0:31000];
NetConnection.rtmfpEndpointName
nc.rtmfpEndpointName
The endpoint name for the local RTMFP protocol stack; ignored for all other protocols. The default value is null, which
is ignored by the local RTMFP protocol stack. This property can be read at any time but cannot be assigned while the
NetConnection is connected or in the process of connecting.
This property throws an error if the assigned name is of the wrong type or missing, or if the NetConnection is currently
connected or in the process of connecting.
Availability
Flash Media Server 4.5
Example
The following example assigns an RTMFP endpoint name:
nc.rtmfpEndpointName = "bootstrap-peer";
NetConnection.uri
nc.uri
Read-only; a string indicating the URI parameter of the NetConnection.connect() method. This property is set to
null before a call to NetConnection.connect() or after a call to NetConnection.close().
Availability
Flash Communication Server 1
NetGroup class
Instances of the NetGroup class represent membership in an RTMFP group. Use this class to do the following:
Monitor Quality of Service. The info property contains a NetGroupInfo object whose properties provide QoS
statistics for this group.
Posting. Call NetGroup.post() to broadcast ActionScript messages to all members of a group.
Direct routing. Call sendToNearest(), sendToNeighbor(), and sendToAllNeighbors() to send a short data
message to a specific member of a peer-to-peer group. The source and the destination do not need to have a direct
connection.
Ingest a multicast stream. Call getMulticastStreamIngest() to ingest a multicast RTMFP stream from a
group.
Vedere la pagina 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 171 172

Commenti su questo manuale

Nessun commento