diff --git a/packages/hms-video-store/src/common/PluginUsageTracker.ts b/packages/hms-video-store/src/common/PluginUsageTracker.ts index e8c6439303..9621d6ba17 100644 --- a/packages/hms-video-store/src/common/PluginUsageTracker.ts +++ b/packages/hms-video-store/src/common/PluginUsageTracker.ts @@ -33,7 +33,7 @@ class PluginUsageTracker { this.pluginLastAddedAt.set(pluginKey, addedAt); } else if (event.name === 'mediaPlugin.stats') { const duration = event.properties.duration; - if (duration) { + if (duration > 0) { this.pluginUsage.set(pluginKey, (this.pluginUsage.get(pluginKey) || 0) + duration * 1000); this.pluginLastAddedAt.delete(pluginKey); }