The number of seconds the player was in this state. If this is the last
entry in the list, the player is still in this state, so the duration
will continue to increase.
state
string
The state the player entered. This could be 'buffering', 'playing',
'paused', or 'ended'.
timestamp
number
The timestamp the state was entered, in seconds since 1970 (i.e.
Date.now() / 1000).
[null,null,["Last updated 2024-09-18 UTC."],[[["`cast.framework.stats.StateChange` interface represents changes in a Cast player's state, such as buffering, playing, paused, or ended."],["Each state change record includes the state, the duration spent in that state, and the timestamp of when the state was entered."]]],[]]