Replies: 3 comments 4 replies
-
|
Hello, You can try to discount the fps dropped using this: val realFps = fps - genericStream.getStreamClient().getDroppedVideoFrames()
//Then you can reset the value for the next iteration:
genericStream.getStreamClient().resetDroppedVideoFrames() |
Beta Was this translation helpful? Give feedback.
-
|
@pedroSG94 Thank you for the idea. However, I observe that dropped frames both for audio and video are 0-es even the is no actual data connection. I realized (debugged) that disconnect of the network will stop sending frames, and won't count the dropped frames. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, @pedroSG94.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
During RTMP stream I tried to switch off both WiFi and Mobile data.
Indifferently, onFps() callback is constantly calling every 1 sec. Actual FPS is lower a bit than required but still available.
Do we have a way to track actual streaming FPS based off actual network state?
Beta Was this translation helpful? Give feedback.
All reactions