媒 here means 'matchmaker / intermediary' — the duck mediates between hunter and prey. The English word 'decoy' is actually a calque of Dutch 'de kooi' (the cage) and refers to the same hunting technique; Chinese
媒鸭 covers both live tame ducks and carved wooden/plastic models.