...
- prevention of redundant transcoding of the same stream on two or more transcoders in CDN
- CDN extended information displaying
- channel quality control between CDN nodes
- node state periodic sending
Prevention of redundant transcoding of the same stream on two or more transcoders in CDN
...
REST queries and response states
REST query | Body example | Response example | Response states | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/cdn/stats/print |
|
| 200 – OK 404 - Stream not found | Get the stream statisctics |
Parameters
Parameter | Description | Example |
---|---|---|
name | Stream name | test |
host | Node IP address from whic stream is receiving | 192.168.0.111 |
format | Response format | json |
inboundBitrate | Inbound (received) bitrate | 1658292 |
outboundBitrate | Outbound (sent) bitrate | 1692676 |
nack | NACK count | 0 |
fps | FPS | 30 |
quality | Channel quality metric | PERFECT |
The query without stream name returns all the sreams statistics received from the CDN node defined. The qury without node returns all the streams statistics received from other CDN nodes if the stream name is not set
...
Channel quality metric is shown as follows
JSON | Prometheus | Description |
---|---|---|
UNKNOWN | 0 | Quality is unknown, media packets are not received |
BAD | 1 | Quality is bad |
GOOD | 2 | Quality is good |
PERFECT | 3 | Quality is perfect |
Node state periodic sending
To reduce impact of channels quality between CDN nodes to CDN current state collection on each node, there was a couple of parameters added to control the period of CDN node state components sending to another nodes
Parameter | Default value | Description |
---|---|---|
cdn_nodes_acl_refresh_interval | 60000 | Interval to send ACL keys list, ms |
cdn_nodes_group_refresh_interval | 60000 | Interval to send node groups, ms |
cdn_nodes_role_refresh_interval | 60000 | Interval to send node role, ms |
cdn_nodes_route_refresh_interval | 60000 | Interval to send node routes, ms |
cdn_nodes_state_refresh_interval | 60000 | Interval to send node state, ms |
cdn_nodes_version_refresh_interval | 90000 | Interval to send CDN version supported, ms |
Backward compatibility with CDN 2.2, 2.1, 2.0
...