PR 3/3: Experimental Native Element Call behind lab flag - #7747
BillCarsonFr wants to merge 5 commits into
Conversation
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feature/valere/native_call_stack #7747 +/- ##
===================================================================
Coverage ? 80.95%
===================================================================
Files ? 2801
Lines ? 82836
Branches ? 11405
===================================================================
Hits ? 67061
Misses ? 11389
Partials ? 4386 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
86d3389 to
a949ce8
Compare
a949ce8 to
348b7f3
Compare
The in app PIP is different from the system app, it is a custom one. I wanted to experiment on that to see if we could do some interesting interactions. |
Oh, I didn't realise this one was in-app. I think the ideal solution would be to have both PiP windows behaving similarly (same position, use the other user's aspect ratio, etc.) but I'm not sure how feasible that is. |
|
@jmartinesp I bumped the element-call version to a new release. For now the in app floating call respect the video source ratio, but not position. |
A wrapper around the logged-in content rather than an overlay, because a minimized call takes a strip of height above it while a maximized one covers it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
supportsPictureInPicture and smallestScreenSize have to be declared here, because a library cannot change a host Activity's manifest entry. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
f4ad8bc to
a756917
Compare
|
jmartinesp
left a comment
There was a problem hiding this comment.
Thanks! I think this is good enough for an initial integration behind a feature flag, and the code seems OK.
| onDispose { } | ||
| } | ||
|
|
||
| ElementCallOverlay( |
There was a problem hiding this comment.
Double checking, but what we're doing is, instead of opening a new activity for EC, we're using MainActivity and overlaying EC on top of everything, right?
I'm a bit concerned this could cause issues with other UI elements, like pop ups or snackbars that could be displayed in a window on top of the current activity, but I can't think of anything at the moment that could cause this scenario.




Content
Motivation and context
Screenshots / GIFs
Tests
Tested devices
Checklist