# PushAvStreamTransportTrait.TransportOptionsStruct


```
class PushAvStreamTransportTrait.TransportOptionsStruct : ClusterStruct
```

<br />

*** ** * ** ***

The transport options.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#TransportOptionsStruct(com.google.home.matter.standard.PushAvStreamTransportTrait.StreamUsageEnum,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,kotlin.UShort,kotlin.String,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportTriggerOptionsStruct,com.google.home.matter.standard.PushAvStreamTransportTrait.IngestMethodsEnum,com.google.home.matter.standard.PushAvStreamTransportTrait.ContainerOptionsStruct,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue)( streamUsage: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.StreamUsageEnum, videoStreamId: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?>, audioStreamId: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?>, tlsEndpointId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, url: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, triggerOptions: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportTriggerOptionsStruct, ingestMethod: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.IngestMethodsEnum, containerOptions: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.ContainerOptionsStruct, expiryTime: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>, videoStreams: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.VideoStreamStruct>>, audioStreams: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.AudioStreamStruct>> )` Creates the TransportOptionsStruct class. |

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#audioStreamId()` The ID of the audio stream. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.AudioStreamStruct>>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#audioStreams()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.ContainerOptionsStruct` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#containerOptions()` The container type and related options. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#expiryTime()` The time of stream expiration, in seconds from the UNIX epoch. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.IngestMethodsEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#ingestMethod()` The ingest method. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.StreamUsageEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#streamUsage()` The type of the camera stream. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#tlsEndpointId()` The ID of the TLS endpoint. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportTriggerOptionsStruct` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#triggerOptions()` Settings related to triggering events. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#url()` The URL of the camera stream. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#videoStreamId()` The ID of the video stream. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.VideoStreamStruct>>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct#videoStreams()` |

## Public constructors

### TransportOptionsStruct

```
TransportOptionsStruct(
    streamUsage: PushAvStreamTransportTrait.StreamUsageEnum = StreamUsageEnum.Internal,
    videoStreamId: OptionalValue<UShort?> = OptionalValue.absent(),
    audioStreamId: OptionalValue<UShort?> = OptionalValue.absent(),
    tlsEndpointId: UShort,
    url: String = "",
    triggerOptions: PushAvStreamTransportTrait.TransportTriggerOptionsStruct = TransportTriggerOptionsStruct(),
    ingestMethod: PushAvStreamTransportTrait.IngestMethodsEnum = IngestMethodsEnum.CMAFIngest,
    containerOptions: PushAvStreamTransportTrait.ContainerOptionsStruct = ContainerOptionsStruct(),
    expiryTime: OptionalValue<UInt> = OptionalValue.absent(),
    videoStreams: OptionalValue<List<PushAvStreamTransportTrait.VideoStreamStruct>> = OptionalValue.absent(),
    audioStreams: OptionalValue<List<PushAvStreamTransportTrait.AudioStreamStruct>> = OptionalValue.absent()
)
```

Creates the TransportOptionsStruct class.

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### audioStreamId

```
val audioStreamId: OptionalValue<UShort?>
```

The ID of the audio stream.

### audioStreams

```
val audioStreams: OptionalValue<List<PushAvStreamTransportTrait.AudioStreamStruct>>
```

### containerOptions

```
val containerOptions: PushAvStreamTransportTrait.ContainerOptionsStruct
```

The container type and related options.

### expiryTime

```
val expiryTime: OptionalValue<UInt>
```

The time of stream expiration, in seconds from the UNIX epoch.

### ingestMethod

```
val ingestMethod: PushAvStreamTransportTrait.IngestMethodsEnum
```

The ingest method.

### streamUsage

```
val streamUsage: PushAvStreamTransportTrait.StreamUsageEnum
```

The type of the camera stream.

### tlsEndpointId

```
val tlsEndpointId: UShort
```

The ID of the TLS endpoint.

### triggerOptions

```
val triggerOptions: PushAvStreamTransportTrait.TransportTriggerOptionsStruct
```

Settings related to triggering events.

### url

```
val url: String
```

The URL of the camera stream.

### videoStreamId

```
val videoStreamId: OptionalValue<UShort?>
```

The ID of the video stream.

### videoStreams

```
val videoStreams: OptionalValue<List<PushAvStreamTransportTrait.VideoStreamStruct>>
```