Class: TencentCloud::Mps::V20190612::RTMPPullSourceAddress

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(tcurl = nil, streamkey = nil) ⇒ RTMPPullSourceAddress

Returns a new instance of RTMPPullSourceAddress.



22096
22097
22098
22099
# File 'lib/v20190612/models.rb', line 22096

def initialize(tcurl=nil, streamkey=nil)
  @TcUrl = tcurl
  @StreamKey = streamkey
end

Instance Attribute Details

#StreamKeyObject

Parameters:

  • TcUrl:

    RTMP源站的TcUrl地址。

  • StreamKey:

    RTMP源站的StreamKey信息。



22094
22095
22096
# File 'lib/v20190612/models.rb', line 22094

def StreamKey
  @StreamKey
end

#TcUrlObject

Parameters:

  • TcUrl:

    RTMP源站的TcUrl地址。

  • StreamKey:

    RTMP源站的StreamKey信息。



22094
22095
22096
# File 'lib/v20190612/models.rb', line 22094

def TcUrl
  @TcUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



22101
22102
22103
22104
# File 'lib/v20190612/models.rb', line 22101

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