What steps will reproduce the problem?
Sample code snippet for the issue - https://gist.github.com/shubhamsoni146/2883bbdad9ccf828ce80e91c5e39f087
What is the expected result?
Expect a constant frame rate of 30.
What do you see instead?
Frame rate drops to 0 when there is no interaction/changes on android devices screen.
What version of the product are you using? On what operating system?
I have Build webrtc android arr file from commit id 6fbd123d3f8a3015d19ac1e18f0cf9b85eea9b99 of webrtc source code.
Please provide any additional information below.
I'm currently working on a WebRTC implementation on android to share screen using the code snippet provided above. I'm experiencing an issue where the frame rate drops to 0 when there is no interaction on device screen. I'm looking for a solution to maintain a constant frame rate regardless of user interaction.
Is there any reason why the frame rate drops to 0 when there's no interaction? And more importantly, is there a way to maintain a constant frame rate in this implementation? Any guidance or suggestions would be greatly appreciated.
Supported media
Issue video - https://drive.google.com/file/d/1e_ydbzyLTcZgVqVWoY4kI3-C61xO-lGA/view?usp=sharing
Frame rate graph - https://drive.google.com/file/d/1uwF6RayXD8CdlHtk6xwT_R5K34MWWh5u/view?usp=sharing
Your issue looks like this optimization.
1255737 - Problems with WebRTC screenshare operating at close to zero capture FPS - chromium
https://bugs.chromium.org/p/chromium/issues/detail?id=1255737&q=zero%20hertz&can=2
Thanks,
Jianhui Dai
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
discuss-webrt...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/discuss-webrtc/8b4d4d0c-06af-4e01-a688-f8da9db47a3dn%40googlegroups.com.
Your issue looks like this optimization:
1255737 - Problems with WebRTC screenshare operating at close to zero capture FPS - chromium
https://bugs.chromium.org/p/chromium/issues/detail?id=1255737&q=zero%20hertz&can=2
Thanks,
Jianhui Dai