The video codec is an encrypting and decrypting system. The codec encrypts the video to be streamed, and then the user’s system has its own codec that decrypts it into a lossy version of the original video. This minimizes the size of the data being transferred.