GrpcExtensionDataTransferMode Struct

Definition

Data transfer mode: embedded or sharedMemory.

public readonly struct GrpcExtensionDataTransferMode : IEquatable<Azure.Media.VideoAnalyzer.Edge.Models.GrpcExtensionDataTransferMode>
type GrpcExtensionDataTransferMode = struct
Public Structure GrpcExtensionDataTransferMode
Implements IEquatable(Of GrpcExtensionDataTransferMode)
Inheritance
GrpcExtensionDataTransferMode
Implements

Constructors

GrpcExtensionDataTransferMode(String)

Initializes a new instance of GrpcExtensionDataTransferMode.

Properties

Embedded

Media samples are embedded into the gRPC messages. This mode is less efficient but it requires a simpler implementations and can be used with plugins which are not on the same node as the Video Analyzer module.

SharedMemory

Media samples are made available through shared memory. This mode enables efficient data transfers but it requires that the extension plugin to be co-located on the same node and sharing the same shared memory space.

Methods

Equals(GrpcExtensionDataTransferMode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(GrpcExtensionDataTransferMode, GrpcExtensionDataTransferMode)

Determines if two GrpcExtensionDataTransferMode values are the same.

Implicit(String to GrpcExtensionDataTransferMode)

Converts a string to a GrpcExtensionDataTransferMode.

Inequality(GrpcExtensionDataTransferMode, GrpcExtensionDataTransferMode)

Determines if two GrpcExtensionDataTransferMode values are not the same.

Applies to