Hi all,
I am dealing with WebRTC on android. My problem is during the call WebRTC decrease my video resolution. I know that WebRTC modify video resolution depending on CPU usage and network availability. But I want to keep that resolution. I track resolution changes using StatisticReports.
For example my call starts with 640X480 and during the call I can see values below ;
googFrameWidthInput = 640 (Input resolutions which fed by camera)
googFrameHeightInput = 480
googFrameRateInput = 3 (Input FPS which fed by camera)
googFrameHeightSent = 640 (Sent resolutions to remote)
googFrameWidthSent = 480
googFrameWidthSent = 3 (Sent FPS to remote)
googBandwidthLimitedResolution = false (In case of low band with this boolean will be true)
googCpuLimitedResolution = false (In case of high cpu usage this boolean will be true)
A few seconds later
googFrameWidthInput = 640
googFrameHeightInput = 480
googFrameRateInput = 6
googFrameHeightSent = 480
googFrameWidthSent = 360
googFrameWidthSent = 6
googBandwidthLimitedResolution = false
googCpuLimitedResolution = true
A few seconds later
googFrameWidthInput = 640
googFrameHeightInput = 480
googFrameRateInput = 9
googFrameHeightSent = 320
googFrameWidthSent = 240
googFrameWidthSent = 7
googBandwidthLimitedResolution = false
googCpuLimitedResolution = true
As you see after a while my video resolution decreasing twice. Can I stop this happening ?
Thank you.