It turned out that the issue was that the presenter's connection never got the "webrtcState" ON from Janus, so I guess the handshake never completed...
It seems to happen when we share a large screen, say w:2560. h:1440.. For now I fixed it by adding a timer to check for webrtcState to be on after the screenshare started, say 7 seocnds into it. And if it we don't get the message from Janus regarding webrtcState being "on", we alert the presenter and stop the share.
I am trying to figure out
1) Why the webrtcState fails to complete (stopping and starting the screenshare fixes it)
2) is there a way to "retry" the connection for the screenshare video room, without having the user to manually click on the Chrome extension's "share" button?
(i.e. I tried to resend the sendOffer, but that brings up the Chrome extension dialog...)
Is there a point further in the handshake that I can retry to have the webrtcState to be ON? may be "configure" ?