diff --git a/daemon/media_socket.c b/daemon/media_socket.c index 64c821849..1075df02c 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;