Sessions is a list of active connections to HTTP MPEG-TS or HLS outputs.
{
"cmd": "sessions"
}
In response will be array of active sessions:
{
"sessions": [
{
"client_id": "...",
"channel_id": "...",
"channel_name": "...",
"addr": "...",
"uptime": N
}
]
}
client_id
— unique session identifierchannel_id
— unique channel identifierchannel_name
— channel nameaddr
— client IP addressuptime
— the time in seconds, for which the session has been running{
"cmd": "close-session",
"id": "..."
}
id
— session identifier