Monitoring of GOP and FPS in video streams
You can learn 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
avg_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 the response for
/flussonic/api/input_media_info/STREAM_NAME, the JSON view including. Since statistics take time to be gathered, 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.