The Trojan Room coffee pot was a coffee machine located in the Computer Laboratory of the University of Cambridge, England. Created in 1991 by Quentin Stafford-Fraser and Paul Jardetzky, it was migrated from their laboratory network to the web in 1993 becoming the world's first webcam.
To save people working in the building the disappointment of finding the coffee machine empty after making the trip to the room, a camera was set up providing a live picture of the coffee pot to all desktop computers on the office network. After the camera was connected to the Internet a few years later, the coffee pot gained international renown as a feature of the fledgling World Wide Web, until being retired in 2001.
Fun fact: Kodac had digital cameras back in the 1970s - this was declassified a few years ago. I used to know someone who flew Vulcans in the RAF, he always told me he was testing prototype Kodac long range photography at the time.
Digital camera tech can be traced back to the 60s. Used in satellites.
Fijifilm and Kodak were both creating CCD tech in 1975 for military, hosiptals and aerospace when the Cromemco Cyclops released to consumers the same year.
The first colour consumer digital camera was by Sony in 1981.
The first commercially manufactured webcam was released by SGI in 1993, the Indycam for the Indy workstation, the same year the coffee pot went public on the web.
There were small scale video calling systems around even before that, although they weren't based on web/IP technologies.