If you're creating a media server how do you control if the files are pushed out via tcp or udp? Or is that a client thing? I'm currently building a headless Debian media server and I was wonsering how that words. As far as streaming videos in my house either one would probobly be fine, but if I am streaming from outside my home network I would want udp to be utilized. I'm hosting the files from a Debian NFS server. Thanks.
lewashby 56 Junior Poster
Recommended Answers
Jump to PostTCP is connection oriented, suitable for sending complete files. UDP is packet oriented, suitable for sending short messages. TCP will verify that all the data got to the destination, and in the proper order. UDP makes no guarantees. You will have to bake your own error recovery and retry logic.
…
Jump to PostYou could use RTP/RTCP over UDP for streaming. If memory serves me right VLC even has (some sort of) support for it.
All 6 Replies
glenn_3 0 Newbie Poster
CimmerianX 197 Junior Poster
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
lewashby 56 Junior Poster
Slavi 94 Master Poster Featured Poster
Traevel 216 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.