In all examples, it seems the MediaRecorder set the camera to 640x480. following this thread it seems some walkaround exists but referring to MediaPlater and not MediaRecorder. https://github.com/aiortc/aiortc/issues/183