Es la cantidad de segundos que el reproductor estuvo en este estado. Si esta es la última entrada de la lista, el jugador sigue en este estado, por lo que la duración seguirá aumentando.
state
cadena
Es el estado que ingresó el jugador. Puede ser "almacenar en búfer", "reproducir", "pausado" o "finalizado".
timestamp
número
La marca de tiempo en la que se ingresó el estado, en segundos desde 1970 (es decir, Date.now() / 1,000).
[null,null,["Última actualización: 2025-07-25 (UTC)"],[[["\u003cp\u003e\u003ccode\u003ecast.framework.stats.StateChange\u003c/code\u003e interface represents changes in a Cast player's state, such as buffering, playing, paused, or ended.\u003c/p\u003e\n"],["\u003cp\u003eEach state change record includes the state, the duration spent in that state, and the timestamp of when the state was entered.\u003c/p\u003e\n"]]],[],null,["# Interface: StateChange\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).stats.StateChange\n====================================================================================\n\ninterface static\n\nRepresents a player state change.\n\nProperties\n----------\n\n### duration\n\nnumber\n\nThe number of seconds the player was in this state. If this is the last\nentry in the list, the player is still in this state, so the duration\nwill continue to increase.\n\n### state\n\nstring\n\nThe state the player entered. This could be 'buffering', 'playing',\n'paused', or 'ended'.\n\n### timestamp\n\nnumber\n\nThe timestamp the state was entered, in seconds since 1970 (i.e.\nDate.now() / 1000)."]]