listConfig
Returns a list with all push/pull configurations.
Whenever the pullStream or pushStream interfaces are called, a record containing the details of the pull or push is created in the pullpushconfig.xml file. Then, the next time the EMS is started, the pullpushconfig.xml file is read, and the EMS attempts to reconnect all of the previous pulled or pushed streams.
This function has no parameters.
Example:
API Call:
listConfig
JSON Response:
{
"data":{
"dash":[details of dash streams ],
"hds":[details of hds streams ],
"hls":[details of hls streams],
"mss":[details of mss streams],
"process":[ details of on process streams],
"pull":[ details of pulled streams],
"push":[details of pushed streams],
"record":[details of recorded streams],
"webrtc":[details of webRTC streams ]
},
"description":"Run-time configuration",
"status":"SUCCESS"
}
The JSON response contains the following details about the pull/push configuration:
- data – The data to parse
- hds (see fields of
createHDSStreamcommand) - hls (see fields of
createHLSStreamcommand) - mss (see fields of
createMSSStreamcommand) - dash (see fields of
createDASHStreamcommand) - pull (see fields of
pullStreamcommand) - push (see fields of
pushStreamcommand) - record (see fields of
recordcommand)- status (within the stream types shown above) – array of current and previous states
- hds (see fields of
- current/previous
- code – An integer representing the state of the stream.
- description – Describes the state of the stream.
- timestamp – The time (in Unix secs) the state was updated.
- description – Describes the result of parsing/executing the command.
- status –
SUCCESSif the command was parsed and executed successfully,FAILif not