BackgroundModal - Component to manage background selection and manipulation in media streams.
This component allows users to choose, apply, and manipulate virtual backgrounds for media streams, leveraging MediaPipe’s Selfie Segmentation and MediaSoup functionalities.
A callback method that is invoked immediately after the
default change detector has checked the directive's
data-bound properties for the first time,
and before any of the view or content children have been checked.
It is invoked only once when the directive is instantiated.
Returns void
ngOnChanges
ngOnChanges(changes): void
A callback method that is invoked immediately after the
default change detector has checked data-bound properties
if at least one has changed, and before the view and content
children are checked.
BackgroundModal - Component to manage background selection and manipulation in media streams.
This component allows users to choose, apply, and manipulate virtual backgrounds for media streams, leveraging MediaPipe’s Selfie Segmentation and MediaSoup functionalities.
Component
Name
BackgroundModal
Example
Param: isVisible
Visibility state of the modal.
Param: parameters
Parameters including settings and methods for media and background management.
Param: position
The position of the modal, e.g., 'topLeft'.
Param: backgroundColor
Background color of the modal.
Param: onClose
Callback function when the modal is closed.
Method
ngOnInit - Initializes the modal component by updating properties based on parameters.