Classes
Methods
# async addVideo(videoId, videoElement)
Add a video for analysis
Parameters:
| Name | Type | Description |
|---|---|---|
videoId |
string
|
Unique identifier |
videoElement |
HTMLVideoElement
|
Video element to analyze |
# getPerformanceStats() → {Object}
Get performance stats from all analyzers
Aggregated performance statistics
Object
# removeVideo(videoId)
Remove a video from analysis
Parameters:
| Name | Type | Description |
|---|---|---|
videoId |
string
|
Video identifier |
# setDebugMode(enabled)
Enable or disable debug mode for all analyzers
Parameters:
| Name | Type | Description |
|---|---|---|
enabled |
boolean
|
Whether to enable debug logging |