Since you are sharing your current window, which is sharing the current window which is sharing the current window of the window and so on, this results in an infinite loop. This is expected behaviour from all browsers.

To avoid this, the simplest solution would be not sharing the entire screen, but just the application window you want to share.


You can refer to our documentation on screenshare here: https://cdn.temasys.com.sg/skylink/skylinkjs/latest/doc/classes/Skylink.html#method_shareScreen