Пример #1
0
        /// <summary>
        /// 获取sip设备的历史录制文件列表
        /// </summary>
        /// <param name="deviceId"></param>
        /// <param name="channelId"></param>
        /// <param name="queryRecordFile"></param>
        /// <param name="rs"></param>
        /// <returns></returns>
        public static bool GetHistroyRecordFileList(string deviceId, string channelId,
                                                    SipQueryRecordFile queryRecordFile, out ResponseStruct rs)
        {
            ServerInstance mediaServer;
            VideoChannel   videoChannel;
            SipDevice      sipDevice;
            SipChannel     sipChannel;

            rs = new ResponseStruct()
            {
                Code    = ErrorNumber.None,
                Message = ErrorMessage.ErrorDic ![ErrorNumber.None],
Пример #2
0
        public bool GetHistroyRecordFileList(
            [FromHeader(Name = "AccessKey")] string AccessKey, string deviceId, string channelId,
            SipQueryRecordFile queryRecordFile)
        {
            ResponseStruct rs;
            var            ret = SipServerService.GetHistroyRecordFileList(deviceId, channelId, queryRecordFile, out rs);

            if (!rs.Code.Equals(ErrorNumber.None))
            {
                throw new AkStreamException(rs);
            }

            return(ret);
        }