When you begin shareScreen, enableAudio is false by default.


To enable audio, you need to use skylink.shareScreen(true).


For example:

  // Share screen with audio
  skylinkDemo.shareScreen(true, function (error, success) {
    if (error) return;
    attachMediaStream(document.getElementById("my-screen"), success);
  });


To see more examples, please refer here.