element-hq / element-call

Group calls powered by Matrix
https://call.element.io
GNU Affero General Public License v3.0
561 stars 90 forks source link

New one-on-one layout #2417

Closed robintown closed 2 months ago

robintown commented 3 months ago

Based on https://github.com/element-hq/element-call/pull/2416

Closes https://github.com/element-hq/element-call/issues/1244

robintown commented 3 months ago

TODO: If you switch to spotlight while connecting, the app crashes

robintown commented 2 months ago

Thanks for the suggestions, I'm pretty happy with how the 2:3 aspect ratio looks on mobile now:

Detecting when the media we're receiving should be landscape is something I don't know how to solve, currently :/ I think that'll have to be outside the scope of this PR. So the best I can do for now is assume that media should be portrait whenever the window is sufficiently narrow, which is the same as how the old one-on-one layout behaves.