RTMP/E

 getRecordedStreams(appInst:String) : Object

HTTP

 http://www.example.com:1111/admin/getRecordedStreams?auser=username&apswd=password&appInst=name

Returns an array containing the names of all the recorded streams currently playing from a particular instance of an application.

Availability

Flash Media Server 2.0.

Parameters

appInst

A String indicating the name of the application or instance of the application, in the form application_name[/instance_name].

auser

A String indicating the user name of the administrator.

apswd

A String indicating the password of the administrator.

Returns

RTMP/E

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 array of all the recorded stream names. The extended name of a recorded stream is used. The name is encoded with keyName*type:streamName, where keyName is the virtual key, type is the stream type (for example: flv, mp3, and so on), and streamName is the text name of the stream.

The properties are defined in the following table:

Property

Name

streamName

String; name of the recorded stream.

type

String; type of the recorded stream.

keyName

String; virtual key of this recorded stream.

HTTP

If the call succeeds, it returns XML with the following structure:

 <result>   <level></level>   <code></code>   <timestamp></timestamp>   <data></data>  </result>

Nested in the data element are elements for each property of the data object listed in the RTMP/E section.

If the call fails, it returns XML with the following structure:

 <result>   <level></level>   <code></code>   <description></description>   <timestamp></timestamp>  </result>

The XML elements contain the same information as the Object properties returned in an RTMP/E call.

Note: The timestamp response over HTTP is formatted differently on Windows (9/23/2007 6:16:40 PM) and Linux (Sun 23 Sep 2007 06:16:40 PM IST).

See also

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy