In the stream monitor I implemented in the custom module, I'm measuring FPS and KF rate using the following IMediaStreamH264SEINotify (SEIListener) listener:
IMediaStreamH264SEINotify seiListener = new SEIListener(this);
Basically counting how many video frames I get per second and of these how often there is a KF.
My rules being that if there are no video frames coming in for 3 consecutive seconds OR FPS<3 for 10 seconds the stream is dropped.
It seems that this is happening way too often.
Streams with decent and good FPS all of a sudden drop to 0 or no more video frames come in.
Do you have any insight why this might be happening?