do not allow an rtp message with zero type (issue #5749)