最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

flutter - flutter_webrtc in combination with Janus gateway gives distorted camera footage on some android devices - Stack Overfl

programmeradmin2浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

After 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.

发布评论

评论列表(0)

  1. 暂无评论