System subjects
This page describes Liberator system subjects that StreamLink clients can subscribe to.
/SYSTEM/NOTIFY/STATE
The operational state of the Liberator. StreamLink clients can subscribe to this subject to be alerted when a graceful shutdown is initiated on the Liberator they are connected to. This gives the clients an opportunity to transfer their connection to another Liberator.
The subject has three fields: state
, info
, and message
.
Field | Value |
---|---|
|
"Operational" |
|
|
|
Field | Value |
---|---|
|
"Shutdown scheduled" |
|
The date and time when the grace-period starts. Format: |
|
A message, set by the system administrator, describing the reason for the graceful shutdown. |
Field | Value |
---|---|
|
"Shutting down" |
|
The date and time when the grace-period ends. Format: |
|
A message, set by the system administrator, describing the reason for the graceful shutdown. |
For information on how a system administrator can initiate a graceful shutdown, see Liberator UDP commands.