[英]Live video streaming through proxy
I have two endpoints behind firewalls who can only communicate through an external relay/proxy. 我在防火墙后面有两个端点,它们只能通过外部中继/代理进行通信。
I'm going to stream video frames from one endpoint to the relay to the other endpoint. 我将把视频帧从一个端点流传输到中继到另一端点。 It doesn't matter if frames are lost - the main requirement is that latency is as low as possible. 帧是否丢失并不重要-主要要求是等待时间尽可能低。 Frame order is also fairly important. 帧顺序也很重要。
Which would be best suited to this, UDP or TCP? 哪种协议最适合UDP或TCP? What additional considerations would I need to make if I used UDP? 如果使用UDP,还需要考虑哪些其他因素? Are there any other better suited protocols/libraries I could use? 我还能使用其他更适合的协议/库吗? I'm doing this from Java. 我正在用Java来做。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.