I'm using getUserMedia to get access to screen sharing. When user clicks a stop button, I want to stop screen sharing.
According to MediaStream API, the stop()
function should be called to stop sharing. But when I do so, I find the Chrome bar https://xxx is sharing your screen <button>Stop sharing</button>
is still there, although the stream has stopped.
Is there a function that can make Chrome bar disappear?