Browser-Phone icon indicating copy to clipboard operation
Browser-Phone copied to clipboard

Video flickering

Open prathibhacdac opened this issue 2 years ago • 2 comments

One side video is proper. In the other end, the video is flickering.

prathibhacdac avatar Sep 14 '22 05:09 prathibhacdac

Screenshot (250)

prathibhacdac avatar Sep 14 '22 08:09 prathibhacdac

Ah, ok, what you are looking at is compression. It's normal, and the mess is caused from the the video compression algorithm responding to loss of packets across the internet stream.

There a few things you can do:

  1. Good, fast internet is going to be the biggest fix here.
  2. Make sure the server running Asterisk is physically as close as possible, so that latency and the number of routers & Switches between you and the server is reduced. (Remember the stream runs up to asterisk and back down again).
  3. Make sure you are using VP8 and VP9, not H264. You should allow only these two video codecs in your endpoint codec list.
  4. Reduce the size of the video transmitted (although this only effects the video that you send out). Configure Extension -> Audio & Video. Use the Quality selector to select a smaller video size. (Reducing the frame can help too but some cameras don't allow this, or if they do, they default anyway.)
  5. There is a setting that can control the video bandwidth transmitted (MaxVideoBandwidth). Add this setting to the localstorage. Its set to 2048 (2mb/s) good for SD quality. You can set this higher. The recommended bandwidth for 720p at HD quality is 2.5Mb/s.

InnovateAsterisk avatar Sep 14 '22 09:09 InnovateAsterisk