See the How to make your virtual background transparent in WebRTC post on webrtcHacks.com for full details and experimental results. All-in one file that uses WebRTC Insertable Streams (media capture ...