We already have WebRTC._parseOfferConstraints maybe we should make that public and use it here...