v20200828

package
v3.0.308+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Internal error.
	INTERNALERROR = "InternalError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// The quantity exceeds the limit.
	INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"

	// Invalid ID.
	INVALIDPARAMETER_ID = "InvalidParameter.Id"

	// Invalid input.
	INVALIDPARAMETER_INPUT = "InvalidParameter.Input"

	// Invalid maximum bandwidth value.
	INVALIDPARAMETER_MAXBANDWIDTH = "InvalidParameter.MaxBandwidth"

	// Invalid `Name`.
	INVALIDPARAMETER_NAME = "InvalidParameter.Name"

	// No information found.
	INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"

	// Invalid `OutputGroups` value
	INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"

	// Invalid `PageNum`.
	INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"

	// Invalid `PageSize`.
	INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"

	// Unexpected status.
	INVALIDPARAMETER_STATE = "InvalidParameter.State"
)
View Source
const APIVersion = "2020-08-28"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateStreamLinkFlow

func (c *Client) CreateStreamLinkFlow(request *CreateStreamLinkFlowRequest) (response *CreateStreamLinkFlowResponse, err error)

CreateStreamLinkFlow This API is used to create a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_EXCEEDEDQUANTITYLIMIT = "InvalidParameter.ExceededQuantityLimit"
INVALIDPARAMETER_INPUT = "InvalidParameter.Input"
INVALIDPARAMETER_MAXBANDWIDTH = "InvalidParameter.MaxBandwidth"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"

func (*Client) DeleteStreamLinkFlow

func (c *Client) DeleteStreamLinkFlow(request *DeleteStreamLinkFlowRequest) (response *DeleteStreamLinkFlowResponse, err error)

DeleteStreamLinkFlow This API is used to delete a StreamLink flow.

error code that may be returned:

INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) DeleteStreamLinkOutput

func (c *Client) DeleteStreamLinkOutput(request *DeleteStreamLinkOutputRequest) (response *DeleteStreamLinkOutputResponse, err error)

DeleteStreamLinkOutput This API is used to delete an output of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NOTFOUND = "InvalidParameter.NotFound"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) DescribeStreamLinkFlow

func (c *Client) DescribeStreamLinkFlow(request *DescribeStreamLinkFlowRequest) (response *DescribeStreamLinkFlowResponse, err error)

DescribeStreamLinkFlow This API is used to query the configuration information of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"

func (*Client) DescribeStreamLinkFlows

func (c *Client) DescribeStreamLinkFlows(request *DescribeStreamLinkFlowsRequest) (response *DescribeStreamLinkFlowsResponse, err error)

DescribeStreamLinkFlows This API is used to query the configuration information of multiple StreamLink flows in batches.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_PAGENUM = "InvalidParameter.PageNum"
INVALIDPARAMETER_PAGESIZE = "InvalidParameter.PageSize"

func (*Client) ModifyStreamLinkFlow

func (c *Client) ModifyStreamLinkFlow(request *ModifyStreamLinkFlowRequest) (response *ModifyStreamLinkFlowResponse, err error)

ModifyStreamLinkFlow This API is used to modify the configuration information of a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_NAME = "InvalidParameter.Name"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) StartStreamLinkFlow

func (c *Client) StartStreamLinkFlow(request *StartStreamLinkFlowRequest) (response *StartStreamLinkFlowResponse, err error)

StartStreamLinkFlow This API is used to start a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_OUTPUTGROUPS = "InvalidParameter.OutputGroups"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

func (*Client) StopStreamLinkFlow

func (c *Client) StopStreamLinkFlow(request *StopStreamLinkFlowRequest) (response *StopStreamLinkFlowResponse, err error)

StopStreamLinkFlow This API is used to stop a StreamLink flow.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ID = "InvalidParameter.Id"
INVALIDPARAMETER_STATE = "InvalidParameter.State"

type CreateInput

type CreateInput struct {

	// Input name, which can contain 1 to 32 letters, digits, and underscores.
	InputName *string `json:"InputName,omitempty" name:"InputName"`

	// Input protocol. Valid values: `SRT`, `RTP`, `RTMP`
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Input description. Length: [0, 255].
	Description *string `json:"Description,omitempty" name:"Description"`

	// Allowlist of input IPs in CIDR format.
	AllowIpList []*string `json:"AllowIpList,omitempty" name:"AllowIpList"`

	// SRT configuration information of input.
	SRTSettings *CreateInputSRTSettings `json:"SRTSettings,omitempty" name:"SRTSettings"`

	// RTP configuration information of input.
	RTPSettings *CreateInputRTPSettings `json:"RTPSettings,omitempty" name:"RTPSettings"`

	// Input failover. Valid values: `OPEN`, `CLOSE` (default)
	FailOver *string `json:"FailOver,omitempty" name:"FailOver"`
}

type CreateInputRTPSettings

type CreateInputRTPSettings struct {

	// Default value: none. Valid values: ['none'].
	FEC *string `json:"FEC,omitempty" name:"FEC"`

	// Idle timeout period in ms. Default value: 5000. Value range: [1000, 10000].
	IdleTimeout *int64 `json:"IdleTimeout,omitempty" name:"IdleTimeout"`
}

type CreateInputSRTSettings

type CreateInputSRTSettings struct {

	// Stream ID, which can contain 0 to 512 letters, digits, and special characters (.#!:&,=_-).
	StreamId *string `json:"StreamId,omitempty" name:"StreamId"`

	// Latency in ms. Default value: 0. Value range: [0, 3000].
	Latency *int64 `json:"Latency,omitempty" name:"Latency"`

	// Receive latency in ms. Default value: 120. Value range: [0, 3000].
	RecvLatency *int64 `json:"RecvLatency,omitempty" name:"RecvLatency"`

	// Peer latency in ms. Default value: 0. Value range: [0, 3000].
	PeerLatency *int64 `json:"PeerLatency,omitempty" name:"PeerLatency"`

	// Peer timeout period in ms. Default value: 5000. Value range: [1000, 10000].
	PeerIdleTimeout *int64 `json:"PeerIdleTimeout,omitempty" name:"PeerIdleTimeout"`

	// Decryption key, which is empty by default, indicating not to encrypt. Only ASCII codes can be filled. Length: [10, 79].
	Passphrase *string `json:"Passphrase,omitempty" name:"Passphrase"`

	// Key length. Default value: 0. Valid values: 0, 16, 24, 32.
	PbKeyLen *int64 `json:"PbKeyLen,omitempty" name:"PbKeyLen"`
}

type CreateStreamLinkFlowRequest

type CreateStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow name
	FlowName *string `json:"FlowName,omitempty" name:"FlowName"`

	// Maximum bandwidth in bps. Valid values: `10000000`, `20000000`, `50000000`
	MaxBandwidth *int64 `json:"MaxBandwidth,omitempty" name:"MaxBandwidth"`

	// Flow input group
	InputGroup []*CreateInput `json:"InputGroup,omitempty" name:"InputGroup"`
}

func NewCreateStreamLinkFlowRequest

func NewCreateStreamLinkFlowRequest() (request *CreateStreamLinkFlowRequest)

func (*CreateStreamLinkFlowRequest) FromJsonString

func (r *CreateStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkFlowRequest) ToJsonString

func (r *CreateStreamLinkFlowRequest) ToJsonString() string

type CreateStreamLinkFlowResponse

type CreateStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Information of the created flow
		Info *DescribeFlow `json:"Info,omitempty" name:"Info"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateStreamLinkFlowResponse

func NewCreateStreamLinkFlowResponse() (response *CreateStreamLinkFlowResponse)

func (*CreateStreamLinkFlowResponse) FromJsonString

func (r *CreateStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStreamLinkFlowResponse) ToJsonString

func (r *CreateStreamLinkFlowResponse) ToJsonString() string

type DeleteStreamLinkFlowRequest

type DeleteStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`
}

func NewDeleteStreamLinkFlowRequest

func NewDeleteStreamLinkFlowRequest() (request *DeleteStreamLinkFlowRequest)

func (*DeleteStreamLinkFlowRequest) FromJsonString

func (r *DeleteStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkFlowRequest) ToJsonString

func (r *DeleteStreamLinkFlowRequest) ToJsonString() string

type DeleteStreamLinkFlowResponse

type DeleteStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteStreamLinkFlowResponse

func NewDeleteStreamLinkFlowResponse() (response *DeleteStreamLinkFlowResponse)

func (*DeleteStreamLinkFlowResponse) FromJsonString

func (r *DeleteStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkFlowResponse) ToJsonString

func (r *DeleteStreamLinkFlowResponse) ToJsonString() string

type DeleteStreamLinkOutputRequest

type DeleteStreamLinkOutputRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`

	// Output ID
	OutputId *string `json:"OutputId,omitempty" name:"OutputId"`
}

func NewDeleteStreamLinkOutputRequest

func NewDeleteStreamLinkOutputRequest() (request *DeleteStreamLinkOutputRequest)

func (*DeleteStreamLinkOutputRequest) FromJsonString

func (r *DeleteStreamLinkOutputRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkOutputRequest) ToJsonString

func (r *DeleteStreamLinkOutputRequest) ToJsonString() string

type DeleteStreamLinkOutputResponse

type DeleteStreamLinkOutputResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteStreamLinkOutputResponse

func NewDeleteStreamLinkOutputResponse() (response *DeleteStreamLinkOutputResponse)

func (*DeleteStreamLinkOutputResponse) FromJsonString

func (r *DeleteStreamLinkOutputResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStreamLinkOutputResponse) ToJsonString

func (r *DeleteStreamLinkOutputResponse) ToJsonString() string

type DescribeFlow

type DescribeFlow struct {

	// Flow ID.
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`

	// Flow name.
	FlowName *string `json:"FlowName,omitempty" name:"FlowName"`

	// Flow status. Valid values: `IDLE`, `RUNNING`
	State *string `json:"State,omitempty" name:"State"`

	// Maximum bandwidth value.
	MaxBandwidth *int64 `json:"MaxBandwidth,omitempty" name:"MaxBandwidth"`

	// Input group.
	InputGroup []*DescribeInput `json:"InputGroup,omitempty" name:"InputGroup"`

	// Output group.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OutputGroup []*DescribeOutput `json:"OutputGroup,omitempty" name:"OutputGroup"`
}

type DescribeInput

type DescribeInput struct {

	// Input ID.
	InputId *string `json:"InputId,omitempty" name:"InputId"`

	// Input name.
	InputName *string `json:"InputName,omitempty" name:"InputName"`

	// Input description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Input protocol.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Input address list.
	InputAddressList []*InputAddress `json:"InputAddressList,omitempty" name:"InputAddressList"`

	// Input IP allowlist.
	AllowIpList []*string `json:"AllowIpList,omitempty" name:"AllowIpList"`

	// SRT configuration information of input.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SRTSettings *DescribeInputSRTSettings `json:"SRTSettings,omitempty" name:"SRTSettings"`

	// RTP configuration information of input.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RTPSettings *DescribeInputRTPSettings `json:"RTPSettings,omitempty" name:"RTPSettings"`

	// Input region.
	InputRegion *string `json:"InputRegion,omitempty" name:"InputRegion"`

	// RTMP configuration information of an input
	RTMPSettings *DescribeInputRTMPSettings `json:"RTMPSettings,omitempty" name:"RTMPSettings"`

	// Input failover
	// Note: this field may return `null`, indicating that no valid value was found.
	FailOver *string `json:"FailOver,omitempty" name:"FailOver"`
}

type DescribeInputRTMPSettings

type DescribeInputRTMPSettings struct {

	// Path for RTMP stream pushing
	// Note: this field may return `null`, indicating that no valid value was found.
	AppName *string `json:"AppName,omitempty" name:"AppName"`

	// StreamKey for RTMP stream pushing
	// Format of an RTMP stream pushing URL: rtmp://IP address:1935/AppName/StreamKey
	StreamKey *string `json:"StreamKey,omitempty" name:"StreamKey"`
}

type DescribeInputRTPSettings

type DescribeInputRTPSettings struct {

	// Whether it is FEC.
	FEC *string `json:"FEC,omitempty" name:"FEC"`

	// Idle timeout period.
	IdleTimeout *int64 `json:"IdleTimeout,omitempty" name:"IdleTimeout"`
}

type DescribeInputSRTSettings

type DescribeInputSRTSettings struct {

	// Stream ID.
	StreamId *string `json:"StreamId,omitempty" name:"StreamId"`

	// Latency.
	Latency *int64 `json:"Latency,omitempty" name:"Latency"`

	// Receive latency.
	RecvLatency *int64 `json:"RecvLatency,omitempty" name:"RecvLatency"`

	// Peer latency.
	PeerLatency *int64 `json:"PeerLatency,omitempty" name:"PeerLatency"`

	// Peer idle timeout period.
	PeerIdleTimeout *int64 `json:"PeerIdleTimeout,omitempty" name:"PeerIdleTimeout"`

	// Decryption key.
	Passphrase *string `json:"Passphrase,omitempty" name:"Passphrase"`

	// Key length.
	PbKeyLen *int64 `json:"PbKeyLen,omitempty" name:"PbKeyLen"`
}

type DescribeOutput

type DescribeOutput struct {

	// Output ID.
	OutputId *string `json:"OutputId,omitempty" name:"OutputId"`

	// Output name.
	OutputName *string `json:"OutputName,omitempty" name:"OutputName"`

	// Output type.
	OutputType *string `json:"OutputType,omitempty" name:"OutputType"`

	// Output description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Output protocol.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Output destination address information list.
	OutputAddressList []*OutputAddress `json:"OutputAddressList,omitempty" name:"OutputAddressList"`

	// Output region.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OutputRegion *string `json:"OutputRegion,omitempty" name:"OutputRegion"`

	// SRT configuration information of output.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SRTSettings *DescribeOutputSRTSettings `json:"SRTSettings,omitempty" name:"SRTSettings"`

	// RTP configuration information of output.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RTPSettings *DescribeOutputRTPSettings `json:"RTPSettings,omitempty" name:"RTPSettings"`

	// RTMP configuration information of output.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RTMPSettings *DescribeOutputRTMPSettings `json:"RTMPSettings,omitempty" name:"RTMPSettings"`
}

type DescribeOutputRTMPSettings

type DescribeOutputRTMPSettings struct {

	// Idle timeout period.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IdleTimeout *int64 `json:"IdleTimeout,omitempty" name:"IdleTimeout"`

	// Chunk size.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ChunkSize *int64 `json:"ChunkSize,omitempty" name:"ChunkSize"`

	// Destination address information list of RTMP push.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Destinations []*RTMPAddressDestination `json:"Destinations,omitempty" name:"Destinations"`
}

type DescribeOutputRTPSettings

type DescribeOutputRTPSettings struct {

	// Destination address information list of RTP push.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Destinations []*RTPAddressDestination `json:"Destinations,omitempty" name:"Destinations"`

	// Whether it is FEC.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FEC *string `json:"FEC,omitempty" name:"FEC"`

	// Idle timeout period.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IdleTimeout *int64 `json:"IdleTimeout,omitempty" name:"IdleTimeout"`
}

type DescribeOutputSRTSettings

type DescribeOutputSRTSettings struct {

	// Push destination address information list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Destinations []*SRTAddressDestination `json:"Destinations,omitempty" name:"Destinations"`

	// Stream ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StreamId *string `json:"StreamId,omitempty" name:"StreamId"`

	// Latency.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Latency *int64 `json:"Latency,omitempty" name:"Latency"`

	// Receive latency.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RecvLatency *int64 `json:"RecvLatency,omitempty" name:"RecvLatency"`

	// Peer latency.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PeerLatency *int64 `json:"PeerLatency,omitempty" name:"PeerLatency"`

	// Peer idle timeout period.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PeerIdleTimeout *int64 `json:"PeerIdleTimeout,omitempty" name:"PeerIdleTimeout"`

	// Encryption key.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Passphrase *string `json:"Passphrase,omitempty" name:"Passphrase"`

	// Encryption key length.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PbKeyLen *int64 `json:"PbKeyLen,omitempty" name:"PbKeyLen"`
}

type DescribeStreamLinkFlowRequest

type DescribeStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`
}

func NewDescribeStreamLinkFlowRequest

func NewDescribeStreamLinkFlowRequest() (request *DescribeStreamLinkFlowRequest)

func (*DescribeStreamLinkFlowRequest) FromJsonString

func (r *DescribeStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowRequest) ToJsonString

func (r *DescribeStreamLinkFlowRequest) ToJsonString() string

type DescribeStreamLinkFlowResponse

type DescribeStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Configuration information of a flow
		Info *DescribeFlow `json:"Info,omitempty" name:"Info"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeStreamLinkFlowResponse

func NewDescribeStreamLinkFlowResponse() (response *DescribeStreamLinkFlowResponse)

func (*DescribeStreamLinkFlowResponse) FromJsonString

func (r *DescribeStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowResponse) ToJsonString

func (r *DescribeStreamLinkFlowResponse) ToJsonString() string

type DescribeStreamLinkFlowsRequest

type DescribeStreamLinkFlowsRequest struct {
	*tchttp.BaseRequest

	// Number of the current page. Default value: `1`
	PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"`

	// Number of entries per page. Default value: `10`
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
}

func NewDescribeStreamLinkFlowsRequest

func NewDescribeStreamLinkFlowsRequest() (request *DescribeStreamLinkFlowsRequest)

func (*DescribeStreamLinkFlowsRequest) FromJsonString

func (r *DescribeStreamLinkFlowsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowsRequest) ToJsonString

func (r *DescribeStreamLinkFlowsRequest) ToJsonString() string

type DescribeStreamLinkFlowsResponse

type DescribeStreamLinkFlowsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of the configuration information of the flows
		Infos []*DescribeFlow `json:"Infos,omitempty" name:"Infos"`

		// Number of the current page
		PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"`

		// Number of entries per page
		PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

		// Total number of entries
		TotalNum *int64 `json:"TotalNum,omitempty" name:"TotalNum"`

		// Total number of pages
		TotalPage *int64 `json:"TotalPage,omitempty" name:"TotalPage"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeStreamLinkFlowsResponse

func NewDescribeStreamLinkFlowsResponse() (response *DescribeStreamLinkFlowsResponse)

func (*DescribeStreamLinkFlowsResponse) FromJsonString

func (r *DescribeStreamLinkFlowsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStreamLinkFlowsResponse) ToJsonString

func (r *DescribeStreamLinkFlowsResponse) ToJsonString() string

type InputAddress

type InputAddress struct {

	// Input address IP.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Input address port.
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

type ModifyStreamLinkFlowRequest

type ModifyStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`

	// Name of the flow to modify
	FlowName *string `json:"FlowName,omitempty" name:"FlowName"`
}

func NewModifyStreamLinkFlowRequest

func NewModifyStreamLinkFlowRequest() (request *ModifyStreamLinkFlowRequest)

func (*ModifyStreamLinkFlowRequest) FromJsonString

func (r *ModifyStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkFlowRequest) ToJsonString

func (r *ModifyStreamLinkFlowRequest) ToJsonString() string

type ModifyStreamLinkFlowResponse

type ModifyStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyStreamLinkFlowResponse

func NewModifyStreamLinkFlowResponse() (response *ModifyStreamLinkFlowResponse)

func (*ModifyStreamLinkFlowResponse) FromJsonString

func (r *ModifyStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStreamLinkFlowResponse) ToJsonString

func (r *ModifyStreamLinkFlowResponse) ToJsonString() string

type OutputAddress

type OutputAddress struct {

	// Output destination IP.
	Ip *string `json:"Ip,omitempty" name:"Ip"`
}

type RTMPAddressDestination

type RTMPAddressDestination struct {

	// Destination URL of RTMP push in the format of 'rtmp://domain/live'.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Destination `StreamKey` of RTMP push in the format of 'streamid?key=value'.
	StreamKey *string `json:"StreamKey,omitempty" name:"StreamKey"`
}

type RTPAddressDestination

type RTPAddressDestination struct {

	// Push destination address IP.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Push destination address port.
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

type SRTAddressDestination

type SRTAddressDestination struct {

	// Destination address IP.
	Ip *string `json:"Ip,omitempty" name:"Ip"`

	// Destination address port.
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

type StartStreamLinkFlowRequest

type StartStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`
}

func NewStartStreamLinkFlowRequest

func NewStartStreamLinkFlowRequest() (request *StartStreamLinkFlowRequest)

func (*StartStreamLinkFlowRequest) FromJsonString

func (r *StartStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartStreamLinkFlowRequest) ToJsonString

func (r *StartStreamLinkFlowRequest) ToJsonString() string

type StartStreamLinkFlowResponse

type StartStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStartStreamLinkFlowResponse

func NewStartStreamLinkFlowResponse() (response *StartStreamLinkFlowResponse)

func (*StartStreamLinkFlowResponse) FromJsonString

func (r *StartStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartStreamLinkFlowResponse) ToJsonString

func (r *StartStreamLinkFlowResponse) ToJsonString() string

type StopStreamLinkFlowRequest

type StopStreamLinkFlowRequest struct {
	*tchttp.BaseRequest

	// Flow ID
	FlowId *string `json:"FlowId,omitempty" name:"FlowId"`
}

func NewStopStreamLinkFlowRequest

func NewStopStreamLinkFlowRequest() (request *StopStreamLinkFlowRequest)

func (*StopStreamLinkFlowRequest) FromJsonString

func (r *StopStreamLinkFlowRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopStreamLinkFlowRequest) ToJsonString

func (r *StopStreamLinkFlowRequest) ToJsonString() string

type StopStreamLinkFlowResponse

type StopStreamLinkFlowResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStopStreamLinkFlowResponse

func NewStopStreamLinkFlowResponse() (response *StopStreamLinkFlowResponse)

func (*StopStreamLinkFlowResponse) FromJsonString

func (r *StopStreamLinkFlowResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopStreamLinkFlowResponse) ToJsonString

func (r *StopStreamLinkFlowResponse) ToJsonString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL