Screen Sharing in Development

hi, i have error about this <Object.toggleScreenSharing>: Failed to switch to screensharing.
I can’t screen sharing in my localhost, but after deploy to server screen sharing working normaly. I want to screen share in my localhost. Thanks