Monitoring of GOP and FPS in video streams
In Flussonic 20.10 and higher, you can get the GOP size and actual FPS in incoming (published) streams by using Flussonic API:
last_gop— the size of the last GOP
gop_size— the average GOP size on an interval of the stream
fps— the actual average FPS (actually arriving frames are counted, in contrast with FPS stated in the stream's meta information)
These fields appear in responses for the following calls:
Since statistics take time to be collected, these values do not appear immediately after the stream was started, and they appear in JSON only after they get real values.
These values can be used to monitor actual stream characteristics. For example, to find out if the stream published to social networks meets the requirement for the certain key frame interval.