How could we get the video frame rate and showing on the live stream by using XPMobile SDK?

Dear all,

Our client want to show up the frame rate in live stream by using XPMobile SDK. Please advance how to achieve, thx

KennethT

Well,

there is no build in functionality on that in the MIP SDK Mobile.

You have to write your own fps counter, and present the result as a video overlay.

There are different implementations possible (for the counting).

Personally I prefer some form of “moving window” based implementation.

Usually in such you could vary with size of the window as well as integration coefficients (second one is usually harder :-))

From the other hand if you want to display original (camera) stream FPS, as it is configured in the MS/RS, I doubt it is possible.

At least not without probing (open the stream to see what fps is.)

Bo already answered in similar way on similar question here:

https://developer.milestonesys.com/s/question/0D50O00005eN866SAC/how-to-get-resolution-and-frame-rate-of-live-streaming