Skip to content

Conversation

eloytoro
Copy link
Contributor

@eloytoro eloytoro commented Oct 6, 2025

Summary

  • Add completion_percent attribute to stream schema indicating percentage of media content watched
  • Add sample stream event demonstrating the new attribute

Changes

  • Added optional completion_percent field to stream schema with 0-100 range
  • Generated TypeScript definitions for the new attribute
  • Added comprehensive stream event sample file

@eloytoro eloytoro marked this pull request as ready for review October 6, 2025 14:54
@eloytoro eloytoro requested review from a team as code owners October 6, 2025 14:54
*/
watch_time?: number;
/**
* Percentage of amount of time watched relative to its total duration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: To make the description a bit clearer.

Suggested change
* Percentage of amount of time watched relative to its total duration
* Percentage of the media watched relative to its total duration

@eloytoro eloytoro merged commit 6f8ce51 into master Oct 7, 2025
12 checks passed
@eloytoro eloytoro deleted the eloytoro/stream-completion-percent branch October 7, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants