
74
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Encodes and returns a string that represents an IP multicast socket address. If you append the string to a groupspec,
the associated NetStream or NetGroup joins the specified IP multicast group and listens to the specified UDP port.
Throws a JavaScript error if the address or port parameters are invalid or missing.
Availability
Flash Media Server 4
Parameters
address A String. A String specifying the address of the IPv4 or IPv6 multicast group to join, optionally followed by
a colon (":") and the UDP port number. If specifying an IPv6 address and a port, the IPv6 address must be enclosed in
square brackets, for example,
"224.0.0.254", "224.0.0.254:30000", "ff03::ffff", "[ff03::ffff]:30000".
port A Number. The UDP port on which to receive IP multicast datagrams. If port is null, the UDP port must be
specified in address. If not null, the UDP port must not be specified in address.
Returns
A String.
GroupSpecifier.encodePostingAuthorization()
groupSpecifier.encodePostingAuthorization(password)
Encodes and returns a string that represents a posting password. When posting is password-protected, you can
concatenate the string to a groupspec to enable posting.
Availability
Flash Media Server 4
Parameters
password A String. The password to encode, which must match the posting password (if set) to enable
NetGroup.post().
Returns
A String.
GroupSpecifier.encodePublishAuthorization()
groupSpecifier.encodePublishAuthorization(password)
Encodes and returns a string that represents a multicast publishing password. When multicast publishing is password-
protected, you can concatenate the string to a groupspec to enable posting.
Availability
Flash Media Server 4
Parameters
password A String. The password to encode, which must match the publish password (if set) to enable
NetStream.publish().
Comentários a estes Manuais