Class: TencentCloud::Cme::V20191029::MediaCastDestinationInfo

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

Overview

点播转直播输出信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, pushurl = nil, name = nil) ⇒ MediaCastDestinationInfo

Returns a new instance of MediaCastDestinationInfo.



3877
3878
3879
3880
3881
# File 'lib/v20191029/models.rb', line 3877

def initialize(id=nil, pushurl=nil, name=nil)
  @Id = id
  @PushUrl = pushurl
  @Name = name
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    输出源 Id。由系统进行分配。

  • PushUrl:

    输出直播流地址。支持的直播流类型为 RTMP 和 SRT。

  • Name:

    输出源的名称。



3875
3876
3877
# File 'lib/v20191029/models.rb', line 3875

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    输出源 Id。由系统进行分配。

  • PushUrl:

    输出直播流地址。支持的直播流类型为 RTMP 和 SRT。

  • Name:

    输出源的名称。



3875
3876
3877
# File 'lib/v20191029/models.rb', line 3875

def Name
  @Name
end

#PushUrlObject

Parameters:

  • Id:

    输出源 Id。由系统进行分配。

  • PushUrl:

    输出直播流地址。支持的直播流类型为 RTMP 和 SRT。

  • Name:

    输出源的名称。



3875
3876
3877
# File 'lib/v20191029/models.rb', line 3875

def PushUrl
  @PushUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



3883
3884
3885
3886
3887
# File 'lib/v20191029/models.rb', line 3883

def deserialize(params)
  @Id = params['Id']
  @PushUrl = params['PushUrl']
  @Name = params['Name']
end