lal
lal copied to clipboard
Continuously Fetch latest metadata (fps, bitrate)
Hello @q191201771
I want to get the metadata (like framerate and bitrate) of the streamer continuosly.
ReadBytesSum uint64 `json:"read_bytes_sum"`
WroteBytesSum uint64 `json:"wrote_bytes_sum"`
BitrateKbits int `json:"bitrate_kbits"`
ReadBitrateKbits int `json:"read_bitrate_kbits"`
WriteBitrateKbits int `json:"write_bitrate_kbits"`
I see this, and as I understand, i can get the bitrate continuously. is there any way to fetch frame rate like this (fps). continuously??
You can get these by calling HTTP-API periodically.
fps: update the latest code, refer to the in_frame_per_sec field in the HTTP-API