session-android/app/src
ThomasSession b510b064cf
[SES-1652] Swap video views in calls (#1533)
* WIP: swap video views

* feat: swap video views

* minor fixes

* minor fix

* minor fix

* update libsession-util

* Revert "update libsession-util"

This reverts commit 0d386e706e.

* reverse updating libsession-util

* update libsession-util

* Tweaking colors to match designs

* More theme fixes

* WebRTC rework

Only using two sinks and swapping between them
Reworked the device rotation logic as it didn't work well with pitch ( you could tip the device front to back and the rotation went out of whack, so had to resort to more robust calculation for the device orientation.
Had to use a deprecated sensor setting but it's the only one I could use that works.

* Video management logic update

Rounded corners for floating inset
Proper handling of video scaling based on video proportions
Proper handling of mirroring logic for floating/fullscreen videos depending on whether they are the user or the remote video and whether the camera is front facing or not

* Showing floating video inset only when there is at least one video stream active, hiding it when both are inactive

* Rotating controls on rotation

* Clean up

* Review feedback

* OrientationManager

The new OrientationManager encapsulate the orientation logic and sends out a mutable state flow

* PR feedback

---------

Co-authored-by: Ryan Zhao <ryanzhaors@qq.com>
Co-authored-by: Ryan ZHAO <>
2024-07-11 09:44:17 +10:00
..
androidTest feat: add more testing functionality for the expected current / updated expiry configuration upon merging libsession updates 2023-10-16 10:48:06 +11:00
huawei Add huawei strings 2023-08-16 20:54:07 +09:30
main [SES-1652] Swap video views in calls (#1533) 2024-07-11 09:44:17 +10:00
play Refactor to accept Huawei token from getToken() and/or onNewToken() 2023-08-09 10:08:42 +09:30
sharedTest/java/org/thoughtcrime/securesms Merge dev (#1468) 2024-05-01 12:59:33 +10:00
test [SES-1966] Attachment batch download and tidy-up (#1507) 2024-07-01 17:36:50 +10:00
website/kotlin/org/thoughtcrime/securesms/notifications Fix website flavor TokenFetcher 2023-08-17 14:02:22 +09:30