add adapter script for WebRTC