Hello,
we are experiencing low resolutions beeing sent when using H264 codec in chrome.
Those are the settings we use:
Resolution: 720p
Framerate: 30
videosendinitialbitrate: 1000 (changing does not change behaviour)
videosendbitrate: 1500 (changing does not change behaviour)
We could verify that all settings are beeing adopted in chrome://webrtc-internals, all but the resolution. Bitrate is very low (100k - 200k) but
when shaking the camera the video bitrate reaches a maximum value of videosendbitrate.
Additionally we checked googBandwidthLimitedResolution, googCpuLimitedResolution and googViewLimitedResolution in webrtc-interals which all
are false all the time. Resolution looks like this:
mediaType : video
googCodecName : H264
googFrameWidthInput : 1280
googFrameWidthSent : 320
googFrameHeightInput : 720
googFrameHeightSent : 180
googFrameRateInput : 29
googFrameRateSent : 30
If we lower the framerate (to about 10 fps) this issue disappears but thats not sufficient for our use case. Sometimes we can trick the
sent resolution to reach the target resolution by shaking the camera.
When changing the codec back to VP8 we see that initially the resolution drops (for about 3 seconds) but then reaches the desired 720p resolution.
VP9 works without the initial drop.
We would need the codec to be H264 in the desired resolution to match our use case. Occasional frame drops
and varying birates would not be a big problem.
Did anyone experience similar issues with H264? Is there a way guarantee a fixed resolution?
Best regards
Finn Hoeck