Tested, happens for the first time the screenshare button is clicked, the second time and onward works.
For some reason if the URL contains the query param produce=false the error does not show up; the permission dialog is shown right away. Of course the producer is not sent due to the fact that the sendTransport was not created.