This WebRTC screen capturing extension can be used within any WebRTC library/application! Use getScreenId.js!
This chrome extension simply captures content of your screen. It returns source-id to callee; and that source-id can be used as chromeMediaSourceId in WebRTC applications to capture screen's MediaStream.