I need to build effective socket server to deliver live video basically.
TCP looks too bandwidth costly (it repeats packet if they get lost which generate traffic and also it useless as in live communication it just creates a chaos).
UDP can loose the sequence - my fear - I can loose sync between sender and receiver. For examply if I send logical packet like : <length><data.data.data..> and then it will be parsed to IP packets like "<lenght><data.data>", "<data>", "<data.data>" and then if on their route packets get mixed like "<data.data>", "<lenght><data.data>", "<data>" then sender will never be able to understand where is start where is the end etc. Which will break video-decoder workflow I think.
RTP - I know it widely use in VoIP and it does work. But is there any way to use it in .NET 2.0 Sockets? Is there RTP for Windows 2003 at all ?
SockeType.RDM - some new message-oriented socket. I havent found any proper description of how to use it? Can I use for unicast communication over Internet?
Any comments will be appreciated!
View Complete Post