NIMSDK-AOS  9.21.10
AVChatNetworkProxy.java
浏览该文件的文档.
1 /*
2  * Copyright (c) 2014-2018 NetEase, Inc.
3  * All right reserved.
4  */
5 
6 package com.netease.nimlib.sdk.avchat.model;
7 
8 import com.netease.nrtc.engine.rawapi.RtcNetworkProxy;
9 
10 /**
11  * 网络代理服务器配置
12  */
13 public class AVChatNetworkProxy {
14 
15  private static final String SOCKS5 = RtcNetworkProxy.SOCKS5;
16 
17  private static final String NRTC_PROXY = RtcNetworkProxy.NRTC_PROXY;
18 
19  /**
20  * @see AVChatNetworkProxy#SOCKS5
21  * @see AVChatNetworkProxy#NRTC_PROXY
22  */
23  public String scheme = SOCKS5;
24 
25  /**
26  * 用户名
27  */
28  public String userName;
29 
30  /**
31  * 用户密码
32  */
33  public String userPassword;
34 
35  /**
36  * 代理服务器地址
37  */
38  public String host;
39 
40  /**
41  * 代理服务器端口
42  */
43  public int port;
44 
45 }