I also don't like `origin = camera` here. We expect origin to be the form `protocol://host(:port)`.