Janus SIP example: handling of reINVITE with no SDP

Hello,
Looking at siptest.js I see that when handling updatingcall event (triggered by incoming reINVITE) it always assumes presense of SDP. But from SIP prospective it is completely legitimate to get reINVITE with no SDP

janus_sip.c would not supply jsep when SDP is missing

			json_t *jsep = NULL;
			if(sdp)
				jsep = json_pack("{ssss}", "type", "offer", "sdp", sip->sip_payload->pl_data);

Am I missing something?

siptest.js is just an example of how one can build a client on top of the plugin, and shouldn’t be seen as a reference implementation for everything, including the edge case you mentioned.