Give this method an VideoOverlay that you've created from a videoSink. like: monitorOverlay.videoOverlay = new VideoOverlay( videoSink );
See Implementation
Give this method an VideoOverlay that you've created from a videoSink. like: monitorOverlay.videoOverlay = new VideoOverlay( videoSink );