---
title: Media agent for iOS v4.0.0
source: https://docs.newrelic.com/docs/release-notes/streaming-mobile-release-notes/streaming-ios-agent-25-10-13
---

## Major features

### Standalone agent with advanced harvest logic

-   Introduced standalone initialization with advanced harvest logic for improved event processing
-   Added multi-task harvest scheduler for efficient data collection and transmission
-   Implemented priority-based event buffering system
-   New optimized HTTP client with enhanced networking capabilities

### Enhanced event management

-   New crash-safe event buffer with persistent storage
-   Integrated dead letter handler for failed event recovery
-   Priority event buffer for critical events
-   Default size estimator for optimized memory usage

### Swift support

-   Updated iOS agent with Swift code support
-   Added Swift example implementation (PiPExampleSwift)
-   Improved Swift interoperability

## Architecture changes

### Pod restructuring

-   **Breaking Change**: Renamed NewRelicVideoCore to NewRelicVideoAgent
-   Updated pod specifications and dependencies
-   Streamlined component factory pattern

### New core components

-   `NRVAVideo` - Main video agent interface
-   `NRVAVideoConfiguration` - Centralized configuration management
-   `NRVATokenManager` - Enhanced authentication handling
-   `NRVAHarvestManager` - Centralized harvest orchestration
-   `NRVAVideoLifecycleObserver` - Video lifecycle management
-   `NRVADeviceInformation` - Device information collection
-   `NRVAErrorExceptionHandler` - Centralized error handling

### Storage & persistence

-   New offline storage capabilities with crash recovery
-   Crash-safe harvest factory for reliable data persistence
-   Integrated dead letter handling for failed events

## Breaking changes

-   **Pod name change**: `NewRelicVideoCore` has been renamed to `NewRelicVideoAgent`
    -   Update your podfile: pod `NewRelicVideoAgent`
-   **Initialization changes**: New standalone initialization pattern with configuration objects
-   **API changes**: Some internal APIs have been refactored for the standalone architecture
