AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Transport

import "github.com/aws/aws-sdk-go/service/mediaconnect"

type Transport struct { MaxBitrate *int64 `locationName:"maxBitrate" type:"integer"` MaxLatency *int64 `locationName:"maxLatency" type:"integer"` Protocol *string `locationName:"protocol" type:"string" required:"true" enum:"Protocol"` SmoothingLatency *int64 `locationName:"smoothingLatency" type:"integer"` StreamId *string `locationName:"streamId" type:"string"` }

Attributes related to the transport stream that are used in a source or output.

MaxBitrate

Type: *int64

The smoothing max bitrate for RTP and RTP-FEC streams.

MaxLatency

Type: *int64

The maximum latency in milliseconds for Zixi-based streams.

Protocol

Type: *string

The protocol that is used by the source or output.

Protocol is a required field

SmoothingLatency

Type: *int64

The smoothing latency in milliseconds for RTP and RTP-FEC streams.

StreamId

Type: *string

The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.

Method

GoString

func (s Transport) GoString() string

GoString returns the string representation

SetMaxBitrate

func (s *Transport) SetMaxBitrate(v int64) *Transport

SetMaxBitrate sets the MaxBitrate field's value.

SetMaxLatency

func (s *Transport) SetMaxLatency(v int64) *Transport

SetMaxLatency sets the MaxLatency field's value.

SetProtocol

func (s *Transport) SetProtocol(v string) *Transport

SetProtocol sets the Protocol field's value.

SetSmoothingLatency

func (s *Transport) SetSmoothingLatency(v int64) *Transport

SetSmoothingLatency sets the SmoothingLatency field's value.

SetStreamId

func (s *Transport) SetStreamId(v string) *Transport

SetStreamId sets the StreamId field's value.

String

func (s Transport) String() string

String returns the string representation

On this page: