# How to get the variable frame rate for a stream?

**URL:** <https://community.wowza.com/t/how-to-get-the-variable-frame-rate-for-a-stream/96657>\
**Category:** Wowza Streaming Engine\
**Created:** [November 20, 2023, 8:56am UTC](https://community.wowza.com/t/how-to-get-the-variable-frame-rate-for-a-stream/96657 "2023-11-20T08:56:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![17257a140f684a4cbd81](https://avatars.discourse-cdn.com/v4/letter/1/47e85d/32.png) [@17257a140f684a4cbd81](https://community.wowza.com/u/17257a140f684a4cbd81)\
**Post date:** [November 20, 2023, 8:56am UTC](https://community.wowza.com/t/how-to-get-the-variable-frame-rate-for-a-stream/96657/1 "2023-11-20T08:56:20Z")

</div>

I am streaming a camera that has a frame rate which is not constant. I am writing a custom logic to calculate my frame and packet losses for that stream but the issue is that the frame rate for the stream it is fetching is constant. Ideally it should fetch the frame rate at the instant at which I am checking it, as some packets, frames might have been lost due to any reason. So how to calculate/get the variable frame rate for a stream?
