To add to FerretBomb's answers
- most streaming providers accept H.264 input as doing so avoids H.265's legal minefield
- BUT, that isn't bandwidth efficient for distribution, so most CDN will re-encode to a more efficient codec, then replicate, etc
and speed of light isn't all that fast (and network data transmission speed about 1/100 of that)