...
To connect to backend server for obtaining realtime metric values obtaining, do the following:
1. Establish Secure Websocket connection to https://hostname:8090/ws, where hostname is backend server address
...
- 15 - node identifier in backend database
- 010934f0-0766-11e9-a950-59983a9de3c8 - stream mediasession media session identifier
4. Subscribe to /alarm event for receiving alarms receiving
Code Block | ||
---|---|---|
| ||
SUBSCRIBE id:sub-0 destination:/alarm ^@ |
After that, client starts to receive receiving STOMP messages in plain text
...
The messages contain metric values aquired acquired from the node where the stream is published or played.
...
Metric values are sent to subscriber when metrics changed change count reaches this that parameter value. If metrics are change rarely change, it is recommenede recommended to reduce this the parameter value.
Connection timeout is set with the following parameter
...