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.



25686
25687
25688
25689
# File 'lib/v20190612/models.rb', line 25686

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

Instance Attribute Details

#StreamKeyObject

Parameters:

  • RTMP源站的TcUrl地址。

  • RTMP源站的StreamKey信息。



25684
25685
25686
# File 'lib/v20190612/models.rb', line 25684

def StreamKey
  @StreamKey
end

#TcUrlObject

Parameters:

  • RTMP源站的TcUrl地址。

  • RTMP源站的StreamKey信息。



25684
25685
25686
# File 'lib/v20190612/models.rb', line 25684

def TcUrl
  @TcUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



25691
25692
25693
25694
# File 'lib/v20190612/models.rb', line 25691

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