CDN
Video Streaming
CDN was first introduced to distribute non-video content, but it is widely used in video streaming these days.
Video traffic is a major consumer of Internet bandwidth. (80% of residental ISP traffic in 2020!)
Video is sequence of images displayed at constant rate. Because sending the video as is would eat up too much traffic, we use coding!
A single frame is chosen and called the keyframe - other frames are encoded as differences from the keyframe.
Spatial coding: Remove redundancy within image.
Temporal coding: Remove redundancy between image. (i.e. between frame i and frame i+1)
CBR (constant bit rate): Video encoding rate is fixed.
VBR (variable bit rate): Video encoding rate changes as amount of spatial, temporal coding changes.