OBS will not work with Janus

When I connect OBS via the simple-whip-server to Janus I am seeing the following error logged by Janus:
[ERR] [sdp-utils.c:janus_sdp_get_codec_pt_full:791] Unsupported codec ‘none’
[WARN] Couldn’t find codec we needed (none) in the offer, rejecting video

How do I get OBS to work with Janus?

You’re very likely trying to publish to a room where you didn’t add h264 to the list of supported videocodecs. The sample room we have in the sample configuration file (1234) only accepts VP8.

Thank you. That fixed my issue!