Expand description
§Oximedia Cloud Platform Integration
Comprehensive cloud storage and media services integration for AWS, Azure, and GCP.
§Features
- Multi-cloud storage abstraction (S3, Azure Blob, GCS)
- Media processing service integration
- Transfer management with retry and resume
- Cost optimization strategies
- Security and encryption
- Advanced features like failover, replication, archival
§Example
use oximedia_cloud::{CloudProvider, CloudStorage, create_storage};
use bytes::Bytes;
let provider = CloudProvider::S3 {
bucket: "my-bucket".to_string(),
region: "us-east-1".to_string(),
};
let storage = create_storage(provider).await?;
storage.upload("test.mp4", Bytes::from("data")).await?;Re-exports§
pub use error::CloudError;pub use error::Result;pub use provider::create_storage;pub use provider::CloudProvider;pub use types::CloudStorage;pub use types::ObjectInfo;pub use types::ObjectMetadata;pub use types::StorageClass;pub use types::TransferProgress;pub use types::UploadOptions;pub use aws::AwsMediaServices;pub use aws::S3Storage;pub use azure::AzureBlobStorage;pub use azure::AzureMediaServices;pub use cost::CostEstimator;pub use cost::StorageTier;pub use gcp::GcpMediaServices;pub use gcp::GcsStorage;pub use generic::GenericStorage;pub use security::Credentials;pub use security::EncryptionConfig;pub use security::KmsConfig;pub use transfer::TransferConfig;pub use transfer::TransferManager;
Modules§
- auto_
scaling - Cloud auto-scaling for media workloads
- aws
- AWS cloud services integration
- azure
- Azure cloud services integration
- bandwidth_
throttle - Cloud transfer bandwidth throttling and scheduling. Cloud transfer bandwidth throttling and scheduling.
- cdn
- CDN integration and management
- cdn_
config - CDN configuration and management abstractions.
- cdn_
edge - CDN edge node management and selection.
- cloud_
auth - Cloud authentication and credential management.
- cloud_
backup - Cloud backup strategies: incremental, differential, and versioned backups. Cloud backup strategies for media assets.
- cloud_
credentials - Cloud credential management.
- cloud_
job - Cloud job lifecycle management.
- cloud_
lifecycle - Object lifecycle management: tier transitions, expiration, and archival rules. Cloud object lifecycle management.
- cloud_
monitor - Cloud infrastructure monitoring and health tracking.
- cloud_
queue - Simple cloud message queue abstraction.
- cost
- Cost optimization and estimation
- cost_
model - Cloud cost modeling for media workloads.
- cost_
monitor - Cloud cost monitoring
- egress_
policy - Cloud egress cost tracking and policy enforcement.
- error
- Error types for cloud operations
- event_
bridge - Cloud event routing – event patterns, routing rules, target dispatch, and dead-letter queue (DLQ) handling.
- gcp
- Google Cloud Platform services integration
- generic
- Generic S3-compatible storage implementation for
MinIO, Wasabi, Backblaze B2, etc. - multicloud
- Multi-cloud orchestration: endpoint routing, replication, and health checks.
- multiregion
- Multi-region cloud deployment configuration and routing.
- object_
store - Cloud object storage abstraction
- provider
- Cloud provider selection and storage creation
- region_
selector - Cloud region selection and latency modelling.
- replication_
policy - Cloud replication policies for media assets.
- security
- Security features including credentials management and encryption
- storage
- Storage utilities and lifecycle management
- storage_
class - Storage class configuration and recommendation for cloud object stores.
- storage_
provider - Cloud storage provider abstraction.
- task_
queue - Priority-based cloud task queue.
- transcoding
- Cloud transcoding job management
- transcoding_
pipeline - Cloud transcoding pipeline types.
- transfer
- Transfer management with chunked uploads, retry, and progress tracking
- types
- Core types and traits for cloud storage
- upload_
manager - Chunked upload management for cloud storage.