harlanc / xiu

A simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
https://rustxiu.com
MIT License
1.77k stars 187 forks source link

Stream statistics #33

Closed datagutt closed 1 year ago

datagutt commented 1 year ago

Would be nice to be able to get information/stats about the streams that are currently published: Video/audio codec, bitrate, resolution, bytes sent/received, fps

Something similar to this: https://github.com/illuspas/Node-Media-Server#streams-stats

It would be nice to have this as an HTTP endpoint, but any way of getting it programatically would be OK as well.

harlanc commented 1 year ago

Hi @datagutt
The audio/video statistic information can be queried now using HTTP api, you can try the new feature and make some suggestions if you wish..