getLiveStreamStats()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getLiveStreamStats(app_instance, stream_name)
Parameters
A string that contains the name of the instance of the application, in the
app_instance
form
application_name/instance_name
A string that contains the name of the stream.
stream_name
Returns
If the call succeeds, the server sends a reply information object with a
, a
property of
status
code
object. The
object has the following properties:
data
Property
Description
Object; publisher statistics. The object has the following properties:
publisher
: String; the name of the published live stream.
name
: Date object; time that the stream was published. This property is a
time
duplicate of
: String; the type of stream for the publisher. The value is
type
client
stream_id
publish_time
client_type
publish_time
Array of subscriber statistics. The array contains a
subscribers
an object containing the following properties:
client
subscribe_time
If the call fails, the server sends a reply information object with a
and a
property of
code
Some objects might also have a
cause of the failure.
40
Server Management ActionScript Language Reference
NetConnection.Call.Success
and exists for backwards compatibility.
publish_time
: Number; the client ID of the publisher.
: Number; the stream ID of the publisher.
: Date object; time that the stream was published.
: String; the string type of the publishing client.
: Date object; time that the stream was published.
: Number; user ID.
: Date object; the time that the user subscribed to the stream.
NetConnection.Call.Failed
description
.
, and a
or a more specific value, if available.
property that contains a string describing the
property of
level
property that is an
data
"publishing"
property that is
subscriber
property of
level
error
.
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE and is the answer not in the manual?