Patent ID: 9071887
Filing Date: 2015-06-30
Classification: H04L,H04N

Abstract:
1. A method, comprising: initiating, at a first device associated with a user, a heartbeat timer in response to receiving user input to continue playback or to begin playback of media associated with a streaming media session; receiving the media associated with the streaming media session at the first device; playing the media at the first device; obtaining, at the first device and during the playing of the media, a heartbeat access token, a media playback status associated with the media, and a current playback position of the playing media; sending, at intervals during the playing of the media, messages from the first device to a network device that is separate from the first device, wherein each of the messages includes a session identifier (ID) associated with the streaming media session, the heartbeat access token, the media playback status, and the current playback position of the playing media at one of the intervals at which a respective one of the messages is sent; receiving, at the first device from the network device, a reply message corresponding to each one of the messages sent, wherein one or more reply messages specify a length of an interval; determining, at the first device and responsive to each of the reply messages, whether a time value of the heartbeat timer is less than the specified length; resetting, at the first device, the heartbeat timer responsive to a determination that the time value of the heartbeat timer is not less than the specified length; determining, at the first device and responsive to a determination that the time value of the heartbeat timer is less than the specified length, whether the streaming media session has ended; resetting, at the first device, the heartbeat timer responsive to a determination that the streaming media session has not ended; and obtaining, at the first device and responsive to a determination that the streaming media session has ended, the media playback status indicating that the streaming media session has ended and a corresponding media playback position.