修复摄像头预览接口报错

This commit is contained in:
huangweixiong 2022-07-04 11:29:43 +08:00
parent 0b1f82f933
commit 6d1dc16896
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ public class RestTemplateConfig {
SimpleClientHttpRequestFactory factory = new SimpleClientHttpRequestFactory();
factory.setReadTimeout(2000);//单位为ms
factory.setConnectTimeout(500);//单位为ms
factory.setOutputStreaming(false);
// SocketAddress address = new InetSocketAddress("127.0.0.1", 8888);
// Proxy proxy = new Proxy(Proxy.Type.HTTP, address);