Skip to main content

Crate oximedia_cloud

Crate oximedia_cloud 

Source
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.