# Vendor Dependencies

This folder contains external JavaScript libraries required by the VideoWhisper Live Streaming Integration plugin.

## Libraries Included

### HLS.js - Version 1.4.10
- **File**: `hls.min.js`
- **Source**: https://github.com/video-dev/hls.js/
- **License**: Apache 2.0
- **Purpose**: HTTP Live Streaming (HLS) support for video playback
- **Size**: ~366KB

### Dash.js - Version 4.7.3  
- **File**: `dash.all.min.js`
- **Source**: https://github.com/Dash-Industry-Forum/dash.js/
- **License**: BSD 3-Clause
- **Purpose**: Dynamic Adaptive Streaming over HTTP (DASH) support for video playback
- **Size**: ~764KB

## Why These Libraries Are Included

According to WordPress plugin coding standards, all external dependencies must be bundled with the plugin rather than loaded from CDNs. These libraries are essential for:

1. **Cross-browser video streaming support**
2. **HLS playback on non-Safari browsers** 
3. **DASH streaming protocol support**
4. **Adaptive bitrate streaming**

## Usage

These libraries are dynamically loaded by the VWS Restream Player when needed:
- HLS.js is loaded when HLS playback is required and native browser support is not available
- Dash.js is loaded when DASH playback is selected

## Known Console Messages

- **Source map 404 errors**: The minified libraries reference source maps that are not included (intentionally, to reduce plugin size). These 404 errors in the browser console are harmless and expected.
- **Settings parameter errors**: Some configuration options may show as "not supported" in newer library versions. The player gracefully handles these and uses default values.

## License Compliance

Both libraries are included under their respective open-source licenses and are compatible with GPL.
