Video meets the Internet of Things