A model for WebRTC media streams