Class: TencentCloud::Mps::V20190612::DescribeInputRTMPSettings

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

Overview

查询输入的RTMP配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(appname = nil, streamkey = nil) ⇒ DescribeInputRTMPSettings

Returns a new instance of DescribeInputRTMPSettings.



12853
12854
12855
12856
# File 'lib/v20190612/models.rb', line 12853

def initialize(appname=nil, streamkey=nil)
  @AppName = appname
  @StreamKey = streamkey
end

Instance Attribute Details

#AppNameObject

注意:此字段可能返回 null,表示取不到有效值。 RTMP的推流地址拼接规则为:rtmp://Ip:1935/AppName/StreamKey

Parameters:

  • AppName:

    RTMP的推流路径。

  • StreamKey:

    RTMP的推流StreamKey。



12851
12852
12853
# File 'lib/v20190612/models.rb', line 12851

def AppName
  @AppName
end

#StreamKeyObject

注意:此字段可能返回 null,表示取不到有效值。 RTMP的推流地址拼接规则为:rtmp://Ip:1935/AppName/StreamKey

Parameters:

  • AppName:

    RTMP的推流路径。

  • StreamKey:

    RTMP的推流StreamKey。



12851
12852
12853
# File 'lib/v20190612/models.rb', line 12851

def StreamKey
  @StreamKey
end

Instance Method Details

#deserialize(params) ⇒ Object



12858
12859
12860
12861
# File 'lib/v20190612/models.rb', line 12858

def deserialize(params)
  @AppName = params['AppName']
  @StreamKey = params['StreamKey']
end