diff --git a/src/RtspConnection.c b/src/RtspConnection.c index 01b15b1..60d5bf4 100644 --- a/src/RtspConnection.c +++ b/src/RtspConnection.c @@ -1059,6 +1059,12 @@ int performRtspHandshake(PSERVER_INFORMATION serverInfo) { ret = response.message.response.statusCode; goto Exit; } + + if (!response.payload) { + Limelog("RTSP DESCRIBE no content in response\n"); + ret = -1; + goto Exit; + } if ((StreamConfig.supportedVideoFormats & VIDEO_FORMAT_MASK_AV1) && strstr(response.payload, "AV1/90000")) { if ((serverInfo->serverCodecModeSupport & SCM_AV1_HIGH10_444) && (StreamConfig.supportedVideoFormats & VIDEO_FORMAT_AV1_HIGH10_444)) {