MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Uživatelský manuál Strana 126

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 172
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 125
123
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
NetStream.nearNonce
ns.nearNonce
(Read-only) A String chosen substantially by this end of the stream, unique to this connection. For RTMFP Group
streaming this value is the empty string.
Availability
Flash Media Server 4
NetStream.onStatus()
ns.onStatus = function(infoObject){})
Invoked every time a status change or error occurs in a NetStream object.
The remote server can accept or reject a call to NetStream.publish().
Availability
Flash Media Server 3
Parameters
infoObject An Object with code and level properties that provide information about the status of a NetStream call.
Both properties are strings.
Code property Level property Description
"NetStream.Connect.Success" "status" Dispatched when a NetStream is created successfully. In
Server-Side ActionScript, this status is not sent to
NetConnection.onStatus().
"NetStream.Connect.Failed" "error" Dispatched when NetStream creation or connection fails (for
example, if there is an error in the GroupSpecifier).
"NetStream.MulticastStream.Reset
"
"status" A multicast subscription has changed focus to a different
stream published with the same name in the same group.
Local overrides of multicast stream parameters are lost.
Reapply the local overrides or the new stream's default
parameters will be used.
"NetStream.Play.Failed" "error" In Server-Side ActionScript, a NetStream can publish a
stream to a multicast group; it cannot play a stream.
"NetStream.Publish.BadName" "error" An attempt was made to publish to a stream that is already
being published by someone else.
"NetStream.Publish.Failed" "error" A call to NetStream.publish() was attempted and failed.
For example, permission was denied.
"NetStream.Publish.Start" "status" An attempt to publish was successful.
"NetStream.Record.DiskQuotaExcee
ded
"
"error" An attempt to record a stream failed because the disk quota
was exceeded. For more information, see
Stream.record().
"NetStream.Record.Failed" "error" An attempt to record a stream failed.
"NetStream.Record.NoAccess" "status" An attempt was made to record a read-only stream.
Zobrazit stránku 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 171 172

Komentáře k této Příručce

Žádné komentáře