WCS supports realtime stream publishing and playing parameters monitoring with REST API
Metric | Description |
VIDEO_HEIGHT | Video height |
VIDEO_WIDTH | Video width |
VIDEO_RATE | Video bitrate |
VIDEO_SYNC | Video synchronization |
VIDEO_FPS | Video frame rate per second |
VIDEO_NACK | NACK requests count |
VIDEO_PLI | PLI packets count |
VIDEO_CODEC | Video codec |
VIDEO_K_FRAMES | Video key frames (I-frames) count |
VIDEO_P_FRAMES | Video P frames count |
VIDEO_B_FRAMES | Video B frames count |
VIDEO_LOST | Video lost packets count |
AUDIO_SYNC | Audio synchronization |
AUDIO_RATE | Audio bitrate |
AUDIO_LOST | Lost audio packets count |
AUDIO_CODEC | Audio codec |
REST query should be HTTP/HTTPS POST request as follows:
Where
REST query | REST query body example | REST response example | Response states | |||
---|---|---|---|---|---|---|
/stream/metrics |
or
|
| 200 - Stream metrics received 404 - Stream not found |
Parameter | Description | Example |
---|---|---|
mediaSessionId | Media session identifier | 72b76eb8-3c01-47f3-b308-a0516d51249b |
name | Stream name | testStream |