Skip to navigation

holoscan::channel_descriptor_from_payload_descriptor

Beta
View as Markdown

Return the same-process 72-byte descriptor representation for payload.

This adapter exists while same-process sidecar internals still use ChannelSampleDescriptor. Temporal fields live in SampleEnvelope::metadata and are therefore not represented in this descriptor.

This conversion cannot carry ChannelPayloadKind::kBufferHandle payloads because the same-process descriptor has no opaque external-reference field. Use PayloadDescriptor directly for cross-process descriptor-backed references. Non-local payloads return an empty descriptor without inspecting the inactive local-reference union arm.