As far as I know, you can add webcam as one of EJS GUI element.
Setup IP for the web cam and other properties to show video image sent from web cam to EJS.
However, I have never used that elements before.
I knew it has been used by some one in Spain to display real pendulum motion, and show EJS simulation at the same time to find a suitable parameter to fit with real pendulum motion.