addCaptureSourceObserver
Add a capture source observer to receive callbacks from the source on lifecycle events which can be used to trigger UI. This observer is entirely optional.
Parameters
observer
: CaptureSourceObserver - New observer