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.



24560
24561
24562
24563
# File 'lib/v20190612/models.rb', line 24560

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

Instance Attribute Details

#StreamKeyObject

Parameters:

  • TcUrl:

    RTMP源站的TcUrl地址。

  • StreamKey:

    RTMP源站的StreamKey信息。



24558
24559
24560
# File 'lib/v20190612/models.rb', line 24558

def StreamKey
  @StreamKey
end

#TcUrlObject

Parameters:

  • TcUrl:

    RTMP源站的TcUrl地址。

  • StreamKey:

    RTMP源站的StreamKey信息。



24558
24559
24560
# File 'lib/v20190612/models.rb', line 24558

def TcUrl
  @TcUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



24565
24566
24567
24568
# File 'lib/v20190612/models.rb', line 24565

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