struct TransportOptionsStructThe transport options.
-
The type of the camera stream.
Declaration
Swift
let streamUsage: Google.PushAvStreamTransportTrait.StreamUsageEnum -
The ID of the video stream.
Declaration
Swift
let videoStreamID: UInt16? -
The ID of the audio stream.
Declaration
Swift
let audioStreamID: UInt16? -
The ID of the TLS endpoint.
Declaration
Swift
let tlsEndpointID: UInt16 -
The URL of the camera stream.
Declaration
Swift
let url: String -
Settings related to triggering events.
Declaration
Swift
let triggerOptions: Google.PushAvStreamTransportTrait.TransportTriggerOptionsStruct -
The ingest method.
Declaration
Swift
let ingestMethod: Google.PushAvStreamTransportTrait.IngestMethodsEnum -
The container type and related options.
Declaration
Swift
let containerOptions: Google.PushAvStreamTransportTrait.ContainerOptionsStruct -
The time of stream expiration, in seconds from the UNIX epoch.
Declaration
Swift
let expiryTime: UInt32? -
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?