I'm new to Stack Overflow and I have a question: I want to make an online TV website. I've got the UDP streaming links for each TV channels (ex. udp://@225.1.2.249:30120). Then, I can't find the way how to play that stream on video player in browsers. (I've already tried Video.js and hls.js but both not work, but it easily play on VLC). I know that my grammar is terrible, hope you forgive that.
Undoubtedly for live video sharing, UDP (User Data Protocol) is always recommended over TCP (Transport Control Protocol) due to some of the obvious reasons which are listed as below: UDP offers reduced latency over the TCP reliability.
outbound port 443/TCP (HTTPS) : used for authentication with the built-in providers such as YouTube Live, Facebook Live, Ustream, Livestream, and Twitch. outbound port 53/UDP (DNS) used for DNS lookups converting hostnames to IP addresses.
Typically, applications that transfer data files will use TCP since the protocol's latency and performance issues are not that critical. UDP benefits applications that need to receive data quickly even if accuracy suffers. This is why real-time applications like audio and video streaming will often use UDP.
You don’t. Browsers support HTTP, Websockets, and webrtc. Any other protocol requires a browser plugin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With