If your content isn't particularly controversial and you care more about the business and product side of things rather than boring engineering then just go with Cloudflare Stream (or similar products like Mux or Bitmovin, plenty of choices out there). For real-time, WebRTC is quite popular (and there are also infrastructure providers like Daily.co). The engineering of video streaming is not particularly fun or interesting. You will be operating at a low-level with respect to both networking and video codecs. Focus on your product, you can roll something custom when you have revenue. Video compression algorithms advances are powered by the lost hopes and dreams of CS PhD students. Do not waste your time on it if you have a product to sell and a business to run.