Skip to main content

trim_video_proxy_server 0.1.0 copy "trim_video_proxy_server: ^0.1.0" to clipboard
trim_video_proxy_server: ^0.1.0 copied to clipboard

A lightweight HTTP proxy server for Dart applications. Automatically adds authentication headers to video requests (m3u8 playlists and TS segments). Ideal for video playback scenarios requiring authentication.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.0 - 2025-01-29 #

Added #

  • Initial release of trim_video_proxy_server
  • HTTP proxy server for Dart applications
  • Automatic port selection with configurable retry logic
  • Authentication header injection (cookies) for all proxied requests
  • Zero-copy streaming for memory-efficient video data transfer
  • HTTP endpoint /proxy/info for dynamic proxy configuration
  • Custom logger callback support
  • Comprehensive error handling with detailed error messages
  • Cross-platform support (tested on Linux, Windows, Android)
  • Full null safety support
  • Zero external dependencies (uses only Dart SDK)

Features #

  • Automatic Port Selection: Automatically tries next available port if default port is occupied
  • Authentication Injection: Dynamically adds cookies to all proxied HTTP requests
  • Zero-Copy Streaming: Streams video data directly without loading into memory
  • Dynamic Configuration: HTTP API endpoint for runtime proxy configuration updates
  • Custom Logging: Optional logger callback for integration with external logging systems
  • Error Recovery: Graceful handling of connection failures and invalid configurations

Documentation #

  • Comprehensive README with usage examples
  • API reference documentation
  • Flutter integration examples
  • Console/server application examples
  • Testing guidelines
  • Contributing guidelines

License #

  • MIT License
0
likes
150
points
13
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight HTTP proxy server for Dart applications. Automatically adds authentication headers to video requests (m3u8 playlists and TS segments). Ideal for video playback scenarios requiring authentication.

Repository (GitHub)
View/report issues
Contributing

Topics

#http #proxy #video #streaming #authentication

License

MIT (license)

More

Packages that depend on trim_video_proxy_server