You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meta: sorry for all the tickets from me lately. I'm happy to pitch in and fix this myself, but could use a little guidance since I'm new to this library. Perhaps I'm doing something wrong?
I'm trying to build a "picture in picture" UI where the video recorder can either be in a small frame on top of the main content of my app, or it can be fullscreen with the content of my app in the small frame.
After my changes in PR #18 I have the behaviour working on web, but on iOS it does not work (I haven't tried android yet). The second frame never appears, and the original one does not disappear.
I'm not sure if this is a bug, or if swithcToPreviewFrame doesn't work like this and maybe I'd be better off destroying the VideoRecorder and creating a new one for these two states?
As illustration, here's how it looks on web:
Web 1
Web 2
On iOS however, the recording frame never seems to switch:
iOS 1
iOS 2
The text was updated successfully, but these errors were encountered:
Another data point: I refactored my code to use VideoRecorder.editPreviewFrameConfig and it works as expected on iOS. So instead of initializing my VideoRecorder with two preview frame configs, I just initialize with one and then modify its attributes.
Meta: sorry for all the tickets from me lately. I'm happy to pitch in and fix this myself, but could use a little guidance since I'm new to this library. Perhaps I'm doing something wrong?
I'm trying to build a "picture in picture" UI where the video recorder can either be in a small frame on top of the main content of my app, or it can be fullscreen with the content of my app in the small frame.
After my changes in PR #18 I have the behaviour working on web, but on iOS it does not work (I haven't tried android yet). The second frame never appears, and the original one does not disappear.
I'm not sure if this is a bug, or if
swithcToPreviewFrame
doesn't work like this and maybe I'd be better off destroying the VideoRecorder and creating a new one for these two states?As illustration, here's how it looks on web:
Web 1
Web 2
On iOS however, the recording frame never seems to switch:
iOS 1
iOS 2
The text was updated successfully, but these errors were encountered: