The native view showing the camera that MobCamera.start_video_stream/1
uses (the self-view of a video call): aspect-fill, mirrored for the front
camera, the way people expect to see themselves. The encoded stream is never
mirrored. Place it with MobCamera.preview_view/1.
It shows the plugin's camera session; it does not start one. Before
start_video_stream/1 (or after stop_video_stream/0) it is black. A
set_video_facing/1 switch is followed by the view.
iOS: an AVCaptureVideoPreviewLayer on the plugin's shared
AVCaptureSession. Android: a CameraX PreviewView bound to the stream's
camera.
Native registration key (module name, dots → underscores):
"MobCamera_PreviewView".
Summary
Functions
Callback implementation for Mob.Component.handle_event/3.
Callback implementation for Mob.Component.handle_info/2.
Callback implementation for Mob.Component.terminate/2.
Functions
Callback implementation for Mob.Component.handle_event/3.
Callback implementation for Mob.Component.handle_info/2.
Callback implementation for Mob.Component.terminate/2.