Media
Media is a critical component of the SafeCDx platform that covers pictures, audio, video, and virtually any other type of document required to support the connected diagnostics flows on the platform. The media service is a component of the SafeCDx platform that encompasses all things regarding media management, storage, and retrieval. The media service can handle media management with multiple cloud and on-premises storage options through SafeCDx Connector functionality. Currently, the SafeCDx media service provides native support for using Google Cloud Storage for storing media files, while clients can utilize Connectors to use other media-storage services like AWS S3 or Azure cloud file storage.
The SafeCDx media service uses a CQRS (Command and Query Responsibility Segregation) pattern to separate the command and query operations for storing and retrieving media through its APIs. Media storage can be configured ….
Features
Management
Create, Update, and Delete Media
Preprocessor
The pre-processor feature is baked into the media content upload step. This feature dictates the media content size, type and performs the media content scan to detect virus and malware. Upon scans that succeed, media will be uploaded. Any failures will be reported as failure events to the event plane that can be processed by the listeners and the status of the media record updated accordingly.
Storage Connector
SafeCDx uses connectors to define storage options for media service. For example Google Cloud Storage (GCS) option is defined as a connector. The connector can be configured for specific options for the media service. Multiple storage connectors can also be set up for the media service. This also includes third party storage options like uploadcare or cloudflare. The connectors allow media service to plug and play different storage options based on need.