Whether the camera is on.
The cameras in Devices.
The user asked to turn the camera on (true) or off (false).
The label of a button beside the confirm button that backs out of the check (Cancelled); none when empty.
The user backed out of the check with the CancelLabel button.
The user confirmed their choices.
The confirm button's label.
The user picked a device.
The name being typed.
The heading above the controls; none when empty, as when the host titles the check itself.
The meter's smoothing settings.
Reads the microphone's level, 0..1, for the meter.
Whether the microphone is on.
The microphones in Devices.
The user asked to turn the microphone on (true) or off (false).
Keep the confirm button off until a name is typed.
The selected camera's device id.
The selected microphone's device id.
Show the microphone and camera buttons. Off when the confirm and cancel buttons are the only choices.
Show the microphone and camera pickers.
Ask for a name.
The camera preview. A different source replaces the shown one; the same source stays.
Whether the confirm button is on.
The devices to pick from. Speakers are left out.
The name the field starts with.
Whether the preview shows the camera: it is on and the host gave a source.
Hands over the choices, when they can be confirmed.
A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Emits a pick of a device of the given kind.
mj-camera-check: a look at the camera and a listen to the microphone before anything is shared. The camera shows mirrored, as in a mirror, beside a level meter, microphone and camera buttons, device pickers and, optionally, a name. Presentational: the host runs the preview. It passes the camera as CameraSource and the level as MicrophoneLevel, and starts, stops or switches devices when the check asks. Confirmed hands over the choices.For a check of the camera alone, give it cameras only and no microphone level, and turn off ShowControls; a CancelLabel adds a way out (Cancelled) beside the confirm button.