Class: TencentCloud::Live::V20180801::ModifyLiveStreamMonitorRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180801/models.rb

Overview

ModifyLiveStreamMonitor请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(monitorid = nil, monitorname = nil, outputinfo = nil, inputlist = nil, notifypolicy = nil, asrlanguage = nil, ocrlanguage = nil, aiasrinputindexlist = nil, aiocrinputindexlist = nil, checkstreambroken = nil, checkstreamlowframerate = nil, allowmonitorreport = nil, aiformatdiagnose = nil, aiqualitycontrol = nil) ⇒ ModifyLiveStreamMonitorRequest

Returns a new instance of ModifyLiveStreamMonitorRequest.



12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
# File 'lib/v20180801/models.rb', line 12846

def initialize(monitorid=nil, monitorname=nil, outputinfo=nil, inputlist=nil, notifypolicy=nil, asrlanguage=nil, ocrlanguage=nil, aiasrinputindexlist=nil, aiocrinputindexlist=nil, checkstreambroken=nil, checkstreamlowframerate=nil, allowmonitorreport=nil, aiformatdiagnose=nil, aiqualitycontrol=nil)
  @MonitorId = monitorid
  @MonitorName = monitorname
  @OutputInfo = outputinfo
  @InputList = inputlist
  @NotifyPolicy = notifypolicy
  @AsrLanguage = asrlanguage
  @OcrLanguage = ocrlanguage
  @AiAsrInputIndexList = aiasrinputindexlist
  @AiOcrInputIndexList = aiocrinputindexlist
  @CheckStreamBroken = checkstreambroken
  @CheckStreamLowFrameRate = checkstreamlowframerate
  @AllowMonitorReport = allowmonitorreport
  @AiFormatDiagnose = aiformatdiagnose
  @AiQualityControl = aiqualitycontrol
end

Instance Attribute Details

#AiAsrInputIndexListObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def AiAsrInputIndexList
  @AiAsrInputIndexList
end

#AiFormatDiagnoseObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def AiFormatDiagnose
  @AiFormatDiagnose
end

#AiOcrInputIndexListObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def AiOcrInputIndexList
  @AiOcrInputIndexList
end

#AiQualityControlObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def AiQualityControl
  @AiQualityControl
end

#AllowMonitorReportObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def AllowMonitorReport
  @AllowMonitorReport
end

#AsrLanguageObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def AsrLanguage
  @AsrLanguage
end

#CheckStreamBrokenObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def CheckStreamBroken
  @CheckStreamBroken
end

#CheckStreamLowFrameRateObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def CheckStreamLowFrameRate
  @CheckStreamLowFrameRate
end

#InputListObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def InputList
  @InputList
end

#MonitorIdObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def MonitorId
  @MonitorId
end

#MonitorNameObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def MonitorName
  @MonitorName
end

#NotifyPolicyObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def NotifyPolicy
  @NotifyPolicy
end

#OcrLanguageObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def OcrLanguage
  @OcrLanguage
end

#OutputInfoObject

0 关闭 1 中文 2 英文 3 日文 4 韩文。0 关闭 1 中、英文。

Parameters:

  • MonitorId:

    监播任务ID。

  • MonitorName:

    监播任务的名称。长度128字节以内(一个汉字两个字节)。

  • OutputInfo:

    监播任务输出信息。

  • InputList:

    待监播的输入流信息。

  • NotifyPolicy:

    监播事件通知策略。

  • AsrLanguage:

    智能语音识别语种:

  • OcrLanguage:

    智能文字识别语种:

  • AiAsrInputIndexList:

    语音识别输入流列表,1代表第一条输入流。

  • AiOcrInputIndexList:

    文字识别输入流列表,1代表第一条输入流。

  • CheckStreamBroken:

    是否开启断流检测。

  • CheckStreamLowFrameRate:

    是否开启低帧率检测。

  • AllowMonitorReport:

    是否存储监播事件到监播报告,以及是否允许查询监播报告。

  • AiFormatDiagnose:

    是否开启格式诊断。

  • AiQualityControl:

    是否开启内容质检。



12844
12845
12846
# File 'lib/v20180801/models.rb', line 12844

def OutputInfo
  @OutputInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
# File 'lib/v20180801/models.rb', line 12863

def deserialize(params)
  @MonitorId = params['MonitorId']
  @MonitorName = params['MonitorName']
  unless params['OutputInfo'].nil?
    @OutputInfo = LiveStreamMonitorOutputInfo.new
    @OutputInfo.deserialize(params['OutputInfo'])
  end
  unless params['InputList'].nil?
    @InputList = []
    params['InputList'].each do |i|
      livestreammonitorinputinfo_tmp = LiveStreamMonitorInputInfo.new
      livestreammonitorinputinfo_tmp.deserialize(i)
      @InputList << livestreammonitorinputinfo_tmp
    end
  end
  unless params['NotifyPolicy'].nil?
    @NotifyPolicy = LiveStreamMonitorNotifyPolicy.new
    @NotifyPolicy.deserialize(params['NotifyPolicy'])
  end
  @AsrLanguage = params['AsrLanguage']
  @OcrLanguage = params['OcrLanguage']
  @AiAsrInputIndexList = params['AiAsrInputIndexList']
  @AiOcrInputIndexList = params['AiOcrInputIndexList']
  @CheckStreamBroken = params['CheckStreamBroken']
  @CheckStreamLowFrameRate = params['CheckStreamLowFrameRate']
  @AllowMonitorReport = params['AllowMonitorReport']
  @AiFormatDiagnose = params['AiFormatDiagnose']
  @AiQualityControl = params['AiQualityControl']
end