lal icon indicating copy to clipboard operation
lal copied to clipboard

Continuously Fetch latest metadata (fps, bitrate)

Open kuabhish opened this issue 1 year ago • 2 comments

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??

kuabhish avatar May 30 '23 11:05 kuabhish

You can get these by calling HTTP-API periodically.

q191201771 avatar May 31 '23 02:05 q191201771

fps: update the latest code, refer to the in_frame_per_sec field in the HTTP-API

q191201771 avatar Aug 13 '24 03:08 q191201771