Class: TencentCloud::Cme::V20191029::StreamInputInfo

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

Overview

输入流信息。

Instance Attribute Summary collapse

  • #LivePullInputInfo ⇒ Object
  • VodPull : 点播拉流;
  • LivePull :直播拉流;
  • RtmpPush : 直播推流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #RtmpPushInputInfo ⇒ Object
  • VodPull : 点播拉流;
  • LivePull :直播拉流;
  • RtmpPush : 直播推流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
  • #VodPullInputInfo ⇒ Object
  • VodPull : 点播拉流;
  • LivePull :直播拉流;
  • RtmpPush : 直播推流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.

    Instance Method Summary collapse

    Constructor Details

    #initialize(inputtype = nil, vodpullinputinfo = nil, livepullinputinfo = nil, rtmppushinputinfo = nil) ⇒ StreamInputInfo

    Returns a new instance of StreamInputInfo.

    
    
    5902
    5903
    5904
    5905
    5906
    5907
    # File 'lib/v20191029/models.rb', line 5902
    
    def initialize(inputtype=nil, vodpullinputinfo=nil, livepullinputinfo=nil, rtmppushinputinfo=nil)
      @InputType = inputtype
      @VodPullInputInfo = vodpullinputinfo
      @LivePullInputInfo = livepullinputinfo
      @RtmpPushInputInfo = rtmppushinputinfo
    end

    Instance Attribute Details

    #InputTypeObject

  • VodPull : 点播拉流;
  • LivePull :直播拉流;
  • RtmpPush : 直播推流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • 流输入类型,取值:

    • 点播拉流信息,当 InputType = VodPull 时必填。

    • 直播拉流信息,当 InputType = LivePull 时必填。

    • 直播推流信息,当 InputType = RtmpPush 时必填。

    
    
    5900
    5901
    5902
    # File 'lib/v20191029/models.rb', line 5900
    
    def InputType
      @InputType
    end

    #LivePullInputInfoObject

  • VodPull : 点播拉流;
  • LivePull :直播拉流;
  • RtmpPush : 直播推流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • 流输入类型,取值:

    • 点播拉流信息,当 InputType = VodPull 时必填。

    • 直播拉流信息,当 InputType = LivePull 时必填。

    • 直播推流信息,当 InputType = RtmpPush 时必填。

    
    
    5900
    5901
    5902
    # File 'lib/v20191029/models.rb', line 5900
    
    def LivePullInputInfo
      @LivePullInputInfo
    end

    #RtmpPushInputInfoObject

  • VodPull : 点播拉流;
  • LivePull :直播拉流;
  • RtmpPush : 直播推流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • 流输入类型,取值:

    • 点播拉流信息,当 InputType = VodPull 时必填。

    • 直播拉流信息,当 InputType = LivePull 时必填。

    • 直播推流信息,当 InputType = RtmpPush 时必填。

    
    
    5900
    5901
    5902
    # File 'lib/v20191029/models.rb', line 5900
    
    def RtmpPushInputInfo
      @RtmpPushInputInfo
    end

    #VodPullInputInfoObject

  • VodPull : 点播拉流;
  • LivePull :直播拉流;
  • RtmpPush : 直播推流。
  • 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • 流输入类型,取值:

    • 点播拉流信息,当 InputType = VodPull 时必填。

    • 直播拉流信息,当 InputType = LivePull 时必填。

    • 直播推流信息,当 InputType = RtmpPush 时必填。

    
    
    5900
    5901
    5902
    # File 'lib/v20191029/models.rb', line 5900
    
    def VodPullInputInfo
      @VodPullInputInfo
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    5909
    5910
    5911
    5912
    5913
    5914
    5915
    5916
    5917
    5918
    5919
    5920
    5921
    5922
    5923
    # File 'lib/v20191029/models.rb', line 5909
    
    def deserialize(params)
      @InputType = params['InputType']
      unless params['VodPullInputInfo'].nil?
        @VodPullInputInfo = VodPullInputInfo.new
        @VodPullInputInfo.deserialize(params['VodPullInputInfo'])
      end
      unless params['LivePullInputInfo'].nil?
        @LivePullInputInfo = LivePullInputInfo.new
        @LivePullInputInfo.deserialize(params['LivePullInputInfo'])
      end
      unless params['RtmpPushInputInfo'].nil?
        @RtmpPushInputInfo = RtmpPushInputInfo.new
        @RtmpPushInputInfo.deserialize(params['RtmpPushInputInfo'])
      end
    end