Class GrpcExtensionDataTransfer


  • public final class GrpcExtensionDataTransfer
    extends Object
    Describes how media is transferred to the extension plugin.
    • Constructor Detail

      • GrpcExtensionDataTransfer

        public GrpcExtensionDataTransfer​(GrpcExtensionDataTransferMode mode)
        Creates an instance of GrpcExtensionDataTransfer class.
        Parameters:
        mode - the mode value to set.
    • Method Detail

      • getSharedMemorySizeMiB

        public String getSharedMemorySizeMiB()
        Get the sharedMemorySizeMiB property: The share memory buffer for sample transfers, in mebibytes. It can only be used with the 'SharedMemory' transfer mode.
        Returns:
        the sharedMemorySizeMiB value.
      • setSharedMemorySizeMiB

        public GrpcExtensionDataTransfer setSharedMemorySizeMiB​(String sharedMemorySizeMiB)
        Set the sharedMemorySizeMiB property: The share memory buffer for sample transfers, in mebibytes. It can only be used with the 'SharedMemory' transfer mode.
        Parameters:
        sharedMemorySizeMiB - the sharedMemorySizeMiB value to set.
        Returns:
        the GrpcExtensionDataTransfer object itself.
      • getMode

        public GrpcExtensionDataTransferMode getMode()
        Get the mode property: Data transfer mode: embedded or sharedMemory.
        Returns:
        the mode value.