MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Instrukcja Użytkownika Strona 160

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 159
157
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
See also
Stream.maxQueueSize, Stream.publishQueryString
Stream.maxQueueSize
myStream.maxQueueSize
The maximum size, in bytes, that the live queue can grow to before transmitting the messages it contains.
Availability
Flash Media Server 3.5
Example
For an example, see the Stream.publishQueryString property.
See also
Stream.maxQueueDelay, Stream.publishQueryString
Stream.name
myStream.name
Read-only; contains a unique string associated with a live stream. You can use this property as an index to find a stream
within an application.
Availability
Flash Communication Server 1
Example
The following function takes a Stream object as a parameter and returns the name of the stream:
function getStreamName(myStream){
return myStream.name;
}
Stream.onPlayStatus()
myStream.onPlayStatus = function(infoObject) {}
Called to provide information about playing a stream.
You can trigger actions when a Stream object has switched from one stream to another in a playlist (as indicated by
the information object
NetStream.Play.Switch). You can also trigger actions when a Stream object has played to
the end (as indicated by the information object
NetStream.Play.Complete). To respond to this event, you must
create a function to process the information object sent by the server.
Availability
Flash Media Server 2; Flash Player 6.
Parameters
infoObject An object with code and level properties that provide information about the play status of a Stream
object, as follows:
Przeglądanie stron 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag