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
New Playback State Events: We've expanded our player events to enhance monitoring and interaction with the playback states:
paused: Alerts when playback is paused.
waitingToPlayAtSpecifiedRate: Notifies when playback is waiting to start due to buffering or other delays.
playing: Indicates active media playback.
currentItemChanged: Reports when a new media item is loaded.
currentItemRemoved: Occurs when the current media item is removed.
volumeChanged: Reports changes to the player's volume.
Improvements
Batch Event Processing: To manage the high volume of event notifications more efficiently, especially in environments with dynamic content, we now collect all relevant player events within a one-second window and process them as a batch. This new approach helps maintain the order of events and reduces the processing overhead in high-frequency situations.
Developer Impact
Enhanced Event Handling: Developers can now hook into these batched events through our updated API, allowing for more controlled and scalable event management within applications. This change is crucial for applications dealing with high volumes of media interactions or in scenarios where precise synchronization between the player state and application state is critical.