修复摄像头预览接口报错
This commit is contained in:
parent
0b1f82f933
commit
6d1dc16896
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue