elixir-webrtc / apps

Example apps built on top of Elixir WebRTC
Apache License 2.0
50 stars 6 forks source link

[Broadcaster] Fix issue with video tile resizing on quality change #38

Closed LVala closed 3 months ago

mickel8 commented 3 months ago

I replaced flex-none in chat and settings divs by flex-1 in videoWrapper. This way, videoWrapper will grow as much as possible and will also shrink at first. When videoWrapper disappers, our chat will start shrinking.

I also fixed the problem with videoWrapper not being re-displayed after we show chat on small screens (< 1024) that are then resized to large screens (> 1024)

I mean flow:

  1. Resize screen to be < 1024
  2. Show chat - because we are on small screen videoWrapper is hidden
  3. Resize screen to be > 1024
  4. Now videoWrapper will be re-displayed