功能说明: 获取终端(SKYOS)的默认配置示例
URL:http://{domain|ip}/mtapi/conf/getmtdefaultcfgreq
支持格式:JSON
Api: KdvMt_GetCurAssSndVidStatus
请求示例:
{
"basetype": 1
}
参数名称 | 说明 |
---|---|
basetype | //终端特性信息类型 enum EmFtInfoType_Api { emFtInfoBegin_Api = 0, 1://摄像机及其控制类型 (value: TFtCameraParamList_Api) 2: //串口列表(value: TFtSerialCtrlList_Api) 3://支持网口列表(value: TFtNetCtrl_Api) 4://usb列表(value: TFtUsbParamList_Api) 5://支持双流列表(value: TFtDualStreamList_Api) 6://支持fxo (BOOL32) 7://支持音频列表(value: TFtAudioParamList_Api) 8://暂时不用 9://支持视频输入口功能列表(value: TFtVideoInportList_Api) 10://支持视频输出口功能列表(value: TFtVideoOutportList_Api) 11://sdi输入输出获取方式(value: TFtSdiList_Api) 12://osd抠图方式(value: TFtOsdCutOutList_Api) 13://界面支持的输出制式列表(value: TFtOutputModeList_Api) 14://业务使用的码流转输出制式列表(value: TFtResolutionList_Api) 15://能力集(value: TFtMediaCap_Api) 16://编码能力限制(value: TFtChanEncRelationList_Api) 17://多视多流能力(value: TFtMultiVidParam_Api) 18://终端支持的最大源制式 (u32) 19://内置摄像机支持制式(value: TFtInCameraVidStdList_Api) 20://osd支持的最大制式(value: TFtMaxOsdParam_Api) 21://音频文件格式 (u32) 22://固件信息(value: TFtFirmwareInfoList_Api) 23://发布文件信息(value: TFtReleaseInfo_Api) 24://重置信息列表(value: TFtResetInfoList_Api) 25://短消息属性(value: TFtShortMsgInfoList_Api) 26://osd叠加缩放类型 (u32) 27://是否323标准协议栈(BOOL32) 28://终端属性:商密等(value: TFtTerminalInfo_Api) 29://终端支持麦克风数量(value: TFtSupportMicNum_Api) 30://终端升级特征(value: TFtMtUpgradeList_Api) 31://终端版本限制 (s8) }; |
返回结果:
{ "MainParam": { "basetype":1 // mt os default cfg:EmDefaultCfgType_Api }, "AssParam": { // emCfgPriVidEncParam_Api //主视频编码器参数(TMTAllVideoEncoderParamCfg_Api) "byCnt" : 0, "atParamArray" : //TMTVideoEncoderParamCfg_Api [ { "emCodecIdx": 0, "dwH265IKeyInterval": 0, "dwH265QualMaxValue": 0, "dwH265QualMinValue": 0, "dwH264IKeyInterval": 0, "dwH264QualMaxValue": 0, "dwH264QualMinValue": 0, "dwKeyFrameInterval": 0, "dwQualMinValue": 0, "dwQualMaxValue": 0, "dwFrameRate1080p": 0, "dwFrameRate720p": 0, "dwFrameRateGE720p":1, ///< 分辨率大于等于720p时的帧率 "dwFrameRateLE720":0, "dwFrameRate4k": 0 } ] // emCfgAssVidEncParam_Api//辅视频编码器参数 (TMTAllVideoEncoderParamCfg_Api) "byCnt" : 0, "atParamArray" : //TMTVideoEncoderParamCfg_Api [ { "emCodecIdx": 0, "dwH265IKeyInterval": 0, "dwH265QualMaxValue": 0, "dwH265QualMinValue": 0, "dwH264IKeyInterval": 0, "dwH264QualMaxValue": 0, "dwH264QualMinValue": 0, "dwKeyFrameInterval": 0, "dwQualMinValue": 0, "dwQualMaxValue": 0, "dwFrameRate1080p": 0, "dwFrameRate720p": 0, "dwFrameRateGE720p":1,///< 分辨率大于等于720p时的帧率 "dwFrameRateLE720":0, "dwFrameRate4k": 0 } ] // emCfgPriVidPrior_Api//主流优选(TMTPriVidPriorCfg_Api) "atVideoPriorParam": [ // TVidPriorParam_Api { "emVideoFormat": 0, "emVideoRes": 0 } ] //emCfgPcAssVidPrior_Api,//pc辅流优选( TVidPriorParam_Api) "emVideoFormat": 0, "emVideoRes": 0 //emCfgVidAssVidPrior_Api,//vido辅流优选(TVidPriorParam_Api) "emVideoFormat": 0, "emVideoRes": 0 //emCfgPort_Api//设置TCP/UDP起始端口配置信息(TTcpUdpBasePortCfg_Api) "bAuto": true, "wTcpBasePort": 0, "wUdpBasePort": 0 //emCfgHDResOutput_Api//视频输出制式(THDMTVideoOutPortMode_Api ) "emFirst_priom_video_res": 0, "emFirst_priom_vga_res": 1, "emSecond_priom_video_res": 2, "emSecond_priom_vga_res": 3, "emAss_video_res ": 4 //emCfgMtcBannerInfo_Api//mtc横幅预案配置(THDMTBannerInfoList_Api ) { "achBkColor" : "", "achPictureName" : "", "achPresetBannerName" : "", "atBannerContext" : [ { "achFacenametype" : "", "achTextContent" : "", "achTextcolor" : "", "achTextsize" : "", "bIsWrap":"" ,// 自动换行 "bTextBold" : false, "bTextItalic" : false, "bTextUnderline" : false } ], "byCnt": 0 , "bEnable" : false, "dwDisplayHeight" : 0, "dwDisplayWidth" : 0, "dwPresetBannerIndex" : 0, "dwRollNum" : 0, "dwStayTime" : 0, "dwTextDisplayRatio" : 0, "dwTextLineSpace" : 0, "dwTransParent" : 0, "dwUseType" : 0, "emRollMode" : 0, "emRollSpeed" : 0, "emTextAlign" : 0, "tBannerCoordinate" : { "X" : 0, "Y" : 0 }, "dwTextLineNum" : 1 } //emCfgOsdBannerInfo_Api//OSD横幅配置(THDMTBannerInfo_Api ) "atMtBannerInfo" : { "achBkColor" : "", "achPictureName" : "", "achPresetBannerName" : "", "atBannerContext" : [ { "achFacenametype" : "", "achTextContent" : "", "achTextcolor" : "", "achTextsize" : "", "bIsWrap":"" ,// 自动换行 "bTextBold" : false, "bTextItalic" : false, "bTextUnderline" : false } ], "byCnt": 0 , "bEnable" : false, "dwDisplayHeight" : 0, "dwDisplayWidth" : 0, "dwPresetBannerIndex" : 0, "dwRollNum" : 0, "dwStayTime" : 0, "dwTextDisplayRatio" : 0, "dwTextLineSpace" : 0, "dwTransParent" : 0, "dwUseType" : 0, "emRollMode" : 0, "emRollSpeed" : 0, "emTextAlign" : 0, "tBannerCoordinate" : { "X" : 0, "Y" : 0 }, "dwTextLineNum" : 1 } , "PresetBanner": { "dwBannerIndex": 1, "bEnable": false / true } //emCfgAudOutPortList_Api//音频输出接口(THDMTHDAudOutPortList_Api ) "byCnt" : 0, "aemAudOutPortList" : [ 0, 0 ] //emCfgAudInPortList_Api//主音频输入接口(TMTHDAudInPortList_Api ) "tPriMicPortList" : { "aemAudInPortList" : [ 1 ] }, "tLineInPortList" : { "aemAudInPortList" : [ 1 ] }, "bIsAuxMic" : false, "bIsLineMic" : false //emCfgPri1stVidInPort_Api//设置第一路主视频输入端口( THDMTHDVidInPort_Api ) "emVideoType" : 1, "emVideoInPort" : 2 //emCfgPri2ndVidInPort_Api//设置第二路主视频输入端口( THDMTHDVidInPort_Api ) "emVideoType" : 1, "emVideoInPort" : 2 //emCfgPri3rdVidInPort_Api//设置第三路主视频输入端口( THDMTHDVidInPort_Api ) "emVideoType" : 1, "emVideoInPort" : 2 //emCfgAssVidInPort_Api, //设置辅视频输入端口( THDMTHDVidInPort_Api ) "emVideoType" : 1, "emVideoInPort" : 2 //emCfgMultiVideo_Api//设置多视或多流(TMTHDMultiVideo_Api ) "byCnt" : 0, "emMVType" : 1, "emVMPType" : 2, "aemVideoInPortList" : [ 0, 0 ] //emCfgVideoMatrixScheme_Api//视频矩阵( THDMTAllVideoMatrixScheme_Api ) "byCnt" : 1, "dwSchemeID" : 1, "atMatrixScheme" : [ { "dwSchemeID" : 0, "achSchemeName" : 0, "byInPortCnt" : 0, "atInPortMode" : [ { "emVideoInPort": 0, "emInPortMode" : 0 } ], "byOutPortCnt" : 0, "atOutPortMode" : [ { "emVideoOutPort": 0, "emOutPortMode" : 0 } ], "byOutPort2InPortCnt" : 0, "atOutPort2InPort" : [ { "emVideoOutPort" : 0, "emVideoOutType" : 0 } ] } ] //emCfgSerialList_Api//串口配置(TMTHDSerialList_Api ) " byCnt " : 1, "atSeriallist": [ { "emSerialType" : 1, "dwBandRate" : 2, "dwByteSize" : 3, "emStopBits" : 4, "emParityCheck" : 5 } ] //emCfgSerialMonitorList_Api//串口监听配置(TMTHDSerialMonitorList_Api ) " byCnt " : 1, "atSerialInfo": [ { "emSerialType" : 1, //串口类型 "bEnableMonitor":true/false //是否监听 } ] //emCfgVideoSrcTag_Api//视频源输入标签 (TMTVideoSrcTagList_Api) "atVidSrcTag" : [ { "emVideoPortId" : 0, "achVideoPortTag" : "" } ] //emCfgVideoOutTag_Api //视频源输出标签(TMTVideoOutTagList_Api) "byCnt":0, "atVidOutTag": [ "emVideoPortId" : 0 , "achVideoPortTag": "str" ] //emCfgCameraList_Api//摄像机配置(TMTHDCameraList_Api ) "byCnt" : 0, "atCameralist" : [ { "emVideoPortIndex" : 0, "achCameraTypeName" : 1, "dwAddress" : 2, "dwSpeed" : 3, "emSerialType" : 0 } ] //emCfgVidInPortBright_Api//视频输入接口亮度(TMTVidInPortParamList_Api ) " byCnt ": 0 , " atVidParamList "//重设信息 [ { " emPortType ":0, // EmMtVideoPort_Api " dwVidValue ":0, //数值 } ] // emCfgVidInPortContrast_Api//视频输入接口对比度(TMTVidInPortParamList_Api ) " byCnt ": 0 , " atVidParamList "//重设信息 [ { " emPortType ":0, // EmMtVideoPort_Api " dwVidValue ":0, //数值 } ] //emCfgVidInPortSaturation_Api//视频输入接口饱和度(TMTVidInPortParamList_Api ) " byCnt ": 0 , " atVidParamList "//重设信息 [ { " emPortType ":0, // EmMtVideoPort_Api " dwVidValue ":0, //数值 } ] //emCfgAnswerMode_Api //应答模式(value:EmAnswerMode_Api) " basetype": 0 , //emCfgAutoCall_Api//自动呼叫(value:TMTAutoCall_Api) " bIsAutoCallEnable ":true/false; ///< 是否启用自动呼叫 " achTerName " : "" ///< 自动呼叫的终端名 " dwCallRate ":0 ; ///< 自动呼叫码率 // emCfgBandWithTest_Api //自动检测码率(value:BOOL32) " basetype": true/false //emCfgCallBitrate_Api//呼叫码率与默认呼叫码率(value:TMTCallBitRate_Api) "dwRateCount" :2 "adwRate" : [ 0, 1 ] //emCfgkeepAliveItrvl_Api, //323断链检测时间(value:u32) "basetype": 0 , //emCfgSipkeepAliveItrvl_Api, //sip断链检测时间(value:u32) "basetype": 0 , //emCfgStaticPic_Api,//静态图片(value:BOOL32) "basetype": true/false //emCfgAutoPip_Api, //自动多画面显示(value:BOOL32) "basetype": true/false //emCfgAutoSendSharedCont_Api, //自动发送内容共享(value:BOOL32) "basetype": true/false //emCfgDualStramSrcAdj_Api,//辅视频源自动(value:BOOL32) "basetype": true/false //emCfgCallProtocol_Api, //主呼协议(value:EmConfProtocol_Api) "basetype": 0 , //emCfgAudioPrior_Api, //优选音频协议(value:TMTAudioPriorCfg_Api) "emAudioFormat": 0, "emAacChannelNum": 0, "emAaSampFreq": 0 //emCfgH264Svc_Api, //h264scv(value:BOOL32) " basetype": true/false //emCfgH323_Api, //H239(value:TMtH323Cfg_Api) "bEnableH239" : true/false, "dwCallPriority" : 0 //emCfgSip_Api, //bfcp(value:TMtSipCfg_Api) "bEnableBfcp" : true / false //emCfgLabelInfo_Api, //台标(value:THDMTLabelInfo_Api) "emLabelType" : 1, "tLableCoordinate" : { "X" : 1, "Y" : 2 }, "emLabelPosType" : 3, "atCustomLabelContent" : [ { "achFacenametype" : "", "achTextcolor" : "", "achTextsize" : "", "bTextBold" : false, "bTextItalic" : false, "bTextUnderline" : false, "achTextContent" : "" } ], "achPicName" : "" "achAutoTextContent " : ""//终端别名台标内容 //emCfgCallInRing_Api, //呼入铃声´(value:u32) " basetype": 0 , //emCfgCallOutRing_Api, //呼出铃声´(value:u32) " basetype": 0 , //emCfgKeyboardRing_Api, //按键音效(value:u32) " basetype": 0 , //emCfgShowAppTips_Api, //显示申请提示(value:BOOL32) " basetype": true/false //emCfgShowInOutConf_Api, //显示与会方入会或离会的提示(value:BOOL32) " basetype": true/false //emCfgAiInfo_Api, //人脸签到状态(skyos暂无) //emCfgShortMsg_Api, //通知消息(value:TRollMsgCfg_Api) "emSize ": 0, ///< 字体大小 "emColor ": 0, ///< 字体颜色 "emBackGroundColor ": 0///< 背景颜色//emCfgAutoSleep_Api, //待机(value:THDMTAutoSleep_Api) "bEnable" : 1,///< 是否开启自动待机功能 "dwTimeOut" : 2, ///< 待机前等待时间 "bAllowCall" : true/false///< 待机时是否允许呼叫 //emCfgSysTime_Api, //系统时间配置信息(value:THDMTCfgSystemTime_Api) "bSyncServer" : 1, "emTimeZoneType": 0 // EmTimeZone_Api //emCfgAudVolIn_Api, //输入音量(value:u32) " basetype": 0 , //emCfgMicGain_Api, //mic增益(value:u32) " basetype": 0 , //emCfgAudVolOut_Api, //输出音量(value:u32) " basetype": 0 , //emCfgAns_Api, //自动噪声抑制(value:BOOL32) " basetype": true/false //emCfgAgc_Api, //自动增益控制(value:BOOL32) " basetype": true/false //emCfgAec_Api, //自动回声抵消(value:TAdjustAecParamCfg_Api) "bAuto": true, // 是否自动 "dwVal": 19 , // 自动参数微调值 "bEnable":0 ,// 是否开启ace "dwManualVal": 0 // 手动参数微调值 //emCfgLastDisplay_Api//无码流视频输出配置(value:THDMTLastDisplay_Api) "emLastDisplayType" : 1,// EmHDLastDisplay_Api "dwWaitTime" : 2 //emCfgVidBitRation_Api, //视频发送比率(value:TVidBitRationCfg_Api) "emRationStrategy": "", "adwMainVidRation": [ 0, 1 ], "adwAssVidRation": [ 0, 1 ] //emCfgImageNoiseLevel_Api, //图像降噪(value:THDMTImageNoise_Api) "emNoiseLevel" : 1 // EmHDImageNoise_Api //emCfgVidEncQcMode_Api, //图像质量(value:EmVideoQuality_Api) " basetype": 0 , //emCfgLoadAdaptiveVideo_Api, //视频载荷自适应(value:BOOL32) " basetype": true/false //emCfgVGAImageAdjust_Api, //VGA图像调节(value:TMTVgaImageAdjustCfg_Api) "bVga1FilterState" : 0, "dwVga1PhaseClock" : 0, "nVga1ImageOffset" : 0, "bVga2FilterState" : 0, "dwVga2PhaseClock" : 0, "nVga2ImageOffset" : 0 //emCfgAsymmetricNet_Api, //非对称网络(value:TAsymmetricNetInfo_Api) "bIsEnable": true, "dwUplinkRate": 0, "dwDownlinkRate": 0 //emCfgFEC_Api, //fec策略(value:TMTFecInfo_Api) "bEnableFec": true, "byAlgorithm": 0, "wPackLen": 0, "bIntraFrame": true, "dwDataPackNum": 0, "dwCrcPackNum": 0 //emCfgAudioPrecedence_Api, //音频优先(value:BOOL32) " basetype": true/false //emCfgLostPktResend_Api, //丢包重传(value:TPrsParam_Api) "bEnable": true, "dwFirstTimeSpan": 0, "dwSecondTimeSpan": 0, "dwThirdTimeSpan": 0, "dwRejectTimeSpan": 0, "dwSendBufTimeSpan": 0, "bUseSmoothSend": false //emCfgTRtpSamePort_Api, //端口复用(value:BOOOL32) " basetype": true/false //emCfgSnapShotFtpCfg_Api, //快照ftp(value:TMTSnapShotFtpCfg_Api) "bIsEnable" : true/false, "dwIpAddr" : 2, "dwPort" : 3, "achUploadPath" : "", "achUserName" : "", "achPassWord" : "" //emCfgSipConnection_Api, //数据加密(value:EmSipConnectType_Api) " basetype": 0 , //emCfgUseHTTP_Api, //http服务(value: TMtUseHttpCfg_Api) " dwPort " :0, " bUse " : false //emCfgCSU_Api, //升级服务器地址(value:TMtCSUAddr_Api) " bUsedCSU ":true; ///< 是否使用CSU " achDomain ":""; ///< GK域名 " dwIp ":0; ///< GKIp (网络序) " dwPort ":0; ///< GK端口,如果不填,标准是1720, 非标的是用平台返回的值 " achNumber ":""; ///< 注册时使用的号码 " achPassword ":""; ///< 密码 " dwTimeToLive ":0; ///< GK保活超时时间单位(s) " achAuthName ":""; ///< 认证名称, 填写密码后会用到认证名称 //emCfgLog_Api//日志配置(value:BOOL32) " basetype": true/false //emCfgShortCutKey_Api 快捷键配置(value:TMtShortCutKeyList_Api) " byCnt " : 3, " atShortCutKey " : [ { " emKeyType " : 0,// EmShortCutKeyType_Api;快捷键类型 " emKeyFuc " : 0,//EmShortCutKeyFuc_Api 快捷键功能 } ], //emCfgAiFuncCfgList_Api ai功能配置(value:TMTAiMtInfoList_Api) " byCnt " : 3, " atAiMtInfoCfg " : [ { " emAiMtFunctionType " :0,// EmAiMtFunction_Api " bEnable " : false,; " bPause " : false,; //灵敏度 //区域角 } ], //emCfgAiWakeupOrSleepMt_Api//智能模块唤醒或休眠终端配置(BOOL32) " basetype": true/false //emCfgShowConfState_Api,//显示会议状态(value:BOOL32) " basetype": true/false //emCfgEnableSecure_Api,//是否启用商密功能(value:BOOL32) " basetype": true/false //emCfgEncryptType_Api,//会议加密类型(value:EmEncryptArithmetic_Api) " basetype": 0 // EmEncryptArithmetic_Api //emCfgLoginStrategy_Api,//登录锁定策略(value:TMTLoginStrategy_Api) " dwLoginCount ": 0, //登录次数(3 -- 10 次) " dwWaitTime ": 0, //最后一次登录失败需要等待时º间(3 -- 10 分钟) ; //emCfgLoginPwdTimeout_Api,//密码过期时间(value:u32) " basetype": 0 //emCfgCameraExposureMode_Api, //曝光模式(value:u32) " basetype": 0 //emCfgCameraWhiteBalance_Api, //白平衡模式(value:u32) " basetype": 0 //emCfgCameraContrlExchange_Api, //摄像机方向调节(value:BOOL32) " basetype": true/false //emCfgFECC_Api, //是否允许远遥(value:BOOL32) " basetype": true/false //emCfgCameraHeadStand_Api, //摄像机倒装(value:BOOL32) " basetype": true/false //emCfgCameraImgDigDynSwitch_Api,//数字宽动态开关(value:BOOL32) " basetype": true/false //emCfgCameraISO_Api, //ISO调节(value:EmISO_Api) " basetype": 0 // EmISO_Api //emCfgCameraBackLightSwitch_Api,//背光补偿(value:u32) " basetype": 0 //emCfgCameraImgGamma_Api, //伽´马(value:u32) " basetype": 0 //emCfgCameraSharpness_Api, //锐度(value:u32) " basetype": 0 //emCfgCamera2dNoise_Api, //摄像机降噪(value:u32) " basetype": 0 //emCfgCameraLastPosCfg_Api, //摄像机开机默认位置配置(value:s32) " basetype": 0 //emCfgShowLostPkt_Api, //丢包闪电图标(value:BOOL32) " basetype": true/false //emCfgCameraContrast_Api, //对比度(value:u32) " basetype": 0 //emCfgCameraSaturation_Api, //饱和度(value:u32) " basetype": 0 //emCfgCamera3dNoise_Api, //摄像机3D降噪(value:u32) " basetype": 0 //emCfgCameraAperture_Api, //光圈大小(value:u32) " basetype": 0 //emCfgCameraShutter_Api, //快门速度(value:u32) " basetype": 0 //emCfgCameraRedGain_Api, //红增益(value:u32) " basetype": 0 //emCfgCameraBlueGain_Api, //蓝增益(value:u32) " basetype": 0 //emCfgAotoExposureGain_Api, //自动曝光增益(value:u32) " basetype": 0 //emCfgManualExposureGain_Api, //手动曝光增益(value:u32) " basetype": 0 //emCfgCameraImgDigDynLevel_Api, //数字宽动态等级(value:u32) " basetype": 0 //emCfgCameraBackLightLevel_Api, //背光补偿等级(value:u32) " basetype": 0 // emCfgShowHomeEnable_Api, //home页面显示(value:BOOL32)) " basetype": true/false //emCfgShowSystime_Api, //显示系统时间(value:BOOL32) " basetype": true/false //emCfgShowNetStatus_Api, //显示网络状(value:BOOL32) " basetype": true/false // emCfgShowContentShare_Api, //显示内容共享状态(value:BOOL32) " basetype": true/false // emCfgShowVideoStatus_Api, //显示视频状态(value:BOOL32) " basetype": true/false }