diff --git a/daemon/media_socket.c b/daemon/media_socket.c index 6a7904cf1..91409ad3b 100644 --- a/daemon/media_socket.c +++ b/daemon/media_socket.c @@ -1521,7 +1521,7 @@ static const char *kernelize_one(struct rtpengine_target_info *reti, GQueue *out } } - if (reti->rtp && sinks && sinks->length) { + if (reti->rtp && sinks && sinks->length && payload_types) { GList *l; struct rtp_stats *rs;