Wrap legacy WebRTC API in runtime flag