| | |
| | | d.Add("callStatus", "RECEIVED");//可用值:MISSED,RECEIVED,REJECT |
| | | // d.Add("callDuration", Time);//通话时长(秒) |
| | | d.Add("interphoneTypeEnum", "IMOUVISIAL");//可用值:FLVI,IMOUVISIAL |
| | | string jsonString = HttpUtil.GetSignRequestJson(d); |
| | | string jsonString = HttpUtil.GetSignRequestJson(d); |
| | | |
| | | string url = "/home-wisdom/platform/imou/updateCallStatus"; |
| | | ResponsePackNew response = HttpUtil.RequestHttpsPost(url, jsonString); |
| | |
| | | using Com.Lechange.Opensdk.Device; |
| | | using Com.Lechange.Opensdk.Listener; |
| | | using Com.Lechange.Opensdk.Media; |
| | | using Com.Lechange.Opensdk.Utils; |
| | | using HDL_ON.DAL.Server; |
| | | using HDL_ON_Android.LeChengView.Form; |
| | | using Java.IO; |
| | |
| | | }else { |
| | | URL = URL_LC_CHINA; |
| | | } |
| | | |
| | | InitParams initParams = new InitParams(this, URL, AccessToken); |
| | | InitParams initParams = new InitParams(this, URL, AccessToken); |
| | | LCOpenSDK_Api.InitOpenApi(initParams); |
| | | LogUtils.OpenLog(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | LCOpenSDK_Talk.Listener = new AudioTalkerListener();//设置对讲监听 |
| | | //2021-10-29 对讲请求类型,call呼叫,如果不传,默认为talk |
| | | string talkType = "talk"; |
| | | if (Type == 1)//0监控,1对讲 |
| | | //if (Type == 1)//0监控,1对讲 |
| | | { |
| | | talkType = "call"; |
| | | } |
| | |
| | | /// 固定域名,正式环境 |
| | | /// 公共域名就近解析 |
| | | /// </summary> |
| | | //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm |
| | | public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm |
| | | /// <summary> |
| | | /// RegionMark |
| | | /// </summary> |