Video Heartbeat

Question Detail

Video is firing Stall and Buffer events even when the video is playing without a buffer.


Heartbeat Call Parameters:

Stall Event

s:event:type = stall


Buffer Event

s:event:type = buffer


This issue can occur when a new MediaHeartbeat instance is created for the video and the previous instance for the same video is not ended by calling trackSessionEnd. To verify for multiple sessions, check for different Session ID values under parameter "s:event:sid" in different calls.


As the previous session continues to exist for the video, it keeps tracking the live content as it is receiving the playhead updates. On the other hand, newly created MediaHeartbeat instance does not receive playhead updates. Instead, trackBufferStart is called on the new instance which results into buffer and stall pings.

Additional resources