java - Android tcp vs udp for video streaming -


i want transmit live video phone camera multiple users reliably on network , client specific data bandwidth efficiency

using tcp ensure reliability need n no of connections n no of users application have transmit same data on , on connected clients, consume bandwidth processing power allow exclusive access each connection disconnecting or reconnecting client or sending client specific data etc

on other hand udp can save bandwidth because copying data handled router etc. said unreliable , dont think allow exclusive control each client tcp (correct me if i'm wrong)

so approach should use?

edit:

data , video sent using custom methods (basically writing video frames etc socket output stream)


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -