Class

MediaPipeMultiVideoSentimentManager

MediaPipeSentimentAnalyser.MediaPipeMultiVideoSentimentManager()

Multi-video sentiment manager using MediaPipe Drop-in replacement for MultiVideoSentimentManager

Constructor

# new MediaPipeMultiVideoSentimentManager()

Methods

# async addVideo(videoId, videoElement) → {Promise.<void>}

Add video for analysis

Parameters:
Name Type Description
videoId string

Unique identifier

videoElement HTMLVideoElement

Video to analyze

Promise.<void>

# destroy()

Clean up all resources

# async initialize() → {Promise.<void>}

Initialize shared resources

Promise.<void>

# removeVideo(videoId)

Remove video from analysis

Parameters:
Name Type Description
videoId string

# setDebugMode(enabled)

Set debug mode for all analyzers

Parameters:
Name Type Description
enabled boolean