User Guide
getRecordedStreamStats() 45
getRecordedStreamStats()
Availability
■ Flash Player 6.
■ Flash Media Server 2.
Usage
getRecordedStreamStats(app_instance, stream_name)
Parameters
app_instance A string that contains the name of the instance of the application, in the
form
application_name/instance_name.
stream_name A string that contains the name of the stream. If the stream has a non-default
virtual key or type, these items should be encoded into the stream name. The following is an
example of how to encode key and type:
key?type:name and on2key?flv:myStream.
Returns
If the call succeeds, the server sends a reply information object with a level property of
status, a code property of NetConnection.Call.Success, and a data property that is an
object that contains the following properties:
Description
Returns detailed information about a recorded stream.
See also
getRecordedStreams()
Property Name
cache_bytes
Number; total number of cached bytes of this recorded stream.
cache_segments
Number; number of segments cached for this recorded stream.
cache_hits
Number; number of hits on this stream within the cache.
cache_misses
Number; number of misses on the cache for this stream.
modified_time
ActionScript Date object; date when this file was last modified.
size
Number; number of bytes in this recorded file.
length
Number; length of this file in seconds.