You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/event-reference.html
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -316,7 +316,7 @@ <h2>Field Overview</h2>
316
316
<h2>Meta Conventions</h2>
317
317
<p>To keep dashboards and automations aligned, follow these conventions when extending <code>data.meta</code>:</p>
318
318
<ul>
319
-
<li><code>viewer_update</code>, <code>follower_update</code>, and <code>subscriber_update</code> use a plain integer <code>meta</code> value. The background script aggregates them into <code>viewer_updates</code> with an object keyed by <code>data.type</code>.</li>
319
+
<li><code>viewer_update</code>, <code>follower_update</code>, <code>subscriber_update</code>, and <code>likes_update</code> use a plain integer <code>meta</code> value. The background script aggregates viewer counts into <code>viewer_updates</code> with an object keyed by <code>data.type</code>.</li>
320
320
<li><code>video_stats</code> uses a structured <code>meta</code> object for external encoder/server health, including <code>provider</code>, <code>label</code>, <code>online</code>, <code>bitrateKbps</code>, <code>rttMs</code>, <code>bufferMs</code>, packet loss/drop counters, and optional codec details.</li>
321
321
<li>Donation-style events include a descriptive object: for example <code>{ amount, currency, supporter }</code> for Kick, <code>{ bits }</code> for Twitch cheers, <code>{ supporter, eventType }</code> for YouTube memberships.</li>
322
322
<li>Raids and hosts pass <code>{ fromId, fromLogin, viewers }</code> so overlays can display both streamer name and audience size.</li>
@@ -466,6 +466,11 @@ <h3>YouTube – Websocket/Data API Capture</h3>
466
466
<td>Streaming stats (concurrent viewers) when viewer reporting is enabled.</td>
467
467
<td><code>meta</code> is integer count; mirrors DOM scripting so downstream consumers can merge both flows.</td>
<td>Official video statistics poll when <strong>Show YouTube video like count in dashboard</strong> is enabled.</td>
472
+
<td><code>meta</code> is the current video like-count integer. It emits when the count changes and periodically while unchanged so dashboard state stays fresh.</td>
<td>Core member/event names are aligned across both; Super Chat, Super Sticker, and Jewels use <code>hasDonation</code>, while membership gift purchases/redemptions do not.</td>
0 commit comments