We use Janus gateway to publish camera footage (using RTSP streaming) over WebRTC to a flutter app. This works fine for some android devices, but it gives distorted images on some other android devices we use as you can see in the image below.
The camera's use H264 encoding with a baseline profile with id 42e01f.
We've tried the following:
- Change the profile used from within Janus (64001f, 42001f, 42e01f)
- Change the profile used on camera
- Change the codec used to VP8 (by using janus to do this)
- Change camera settings (things like framerate, bitrate, resolution, etc.)
- Change the flutter renderer
Is there anything else that we can try to fix this?
We use Janus gateway to publish camera footage (using RTSP streaming) over WebRTC to a flutter app. This works fine for some android devices, but it gives distorted images on some other android devices we use as you can see in the image below.
The camera's use H264 encoding with a baseline profile with id 42e01f.
We've tried the following:
- Change the profile used from within Janus (64001f, 42001f, 42e01f)
- Change the profile used on camera
- Change the codec used to VP8 (by using janus to do this)
- Change camera settings (things like framerate, bitrate, resolution, etc.)
- Change the flutter renderer
Is there anything else that we can try to fix this?
Share Improve this question asked Mar 17 at 15:41 Fabian ClaasenFabian Claasen 3043 silver badges14 bronze badges1 Answer
Reset to default 0After a lot of researching we found the solution in the settings of the camera. We use 2 different camera's: Axis and Mobotix. The Axis camera (which is no longer supported), AXIS P3364-VE Network Camera, gave this problem with the Baseline profile and had only a Main profile as other option. We switched to the Axis camera (which is still supported), AXIS P3375-LVE Network Camera, which had the option for a High profile and this in combination with the 42e01f profile setting in Janus did the job!
The mobotix, MOBOTIX c26 Indoor 360°, on the other hand has to use the Baseline profile to work in combination with the 42e01f profile setting in Janus.