You are here: Streaming Basics > Bookmarking

Bookmarking

Bookmarking on Helix Mobile Server allows a media player to start playback where it stopped playback in a previous session. The feature works with any player and is independent of the transport, protocol, or media type.

Note: Bookmarking is supported only for on-demand clips. It is not supported for live broadcasts or for metafiles such as .ram and .smil files.

Bookmark Query String Parameter

RealPlayer and Helix-based media players already provide client-based support for a query string parameter that indicates where to start the stream. For example, the following URL causes playback on RealPlayer to start at 10.5 seconds into the clip:

rtsp://helixserver.example.com/video.mp4?start=10.5

For other media players, Helix Mobile Server provides server-side support for this query string value by modifying the Range Header response sent to the media player. This response indicates that the server is sending a different range of data than the player had expected. The updated range runs from the time specified by the start query parameter to the normal end of the clip.

Note: Media players typically cannot seek to a time prior to the bookmarked value. That is, if a bookmark is set to the 1-minute mark, most players will not be able to seek backward through the first minute of content.

Logging Bookmark Times

To log bookmarking actions and determine when to set the next bookmark, create an advanced logging report that includes the following property that records the requested URL and includes the original query string parameter:

%Client.*.Session.*.PlayerRequestedURL%

The following property records the position of the clip timeline (in milliseconds) in the last packet that was streamed:

%Client.*.Session.*.Clip.*.NPTEndTime%

Tip: To set a new bookmark at the point the user stopped a stream, convert the NPTEndTime to seconds and use that value as the new bookmark value. In some cases, you may want to subtract a few seconds to account for content that was in the player’s buffer but had not yet displayed when the user terminated the connection.

Timeline Tracking Systems

Helix Mobile Server does not keep track of bookmarked sessions. If you want to update bookmarks dynamically so that media players can stop and reconnect to streams continuously, implement a middleware mechanism for receiving the server log information and updating links as needed.

Disabling Bookmarking

Bookmarking for all media players is enabled by default. You can disable bookmarking for a specific player by setting the BookmarkType variable to 0 in the Client Capabilities List of the media player’s user-agent settings.

Note: Setting this variable to 0 in the Default profile disables bookmarking for all media players that do not specifically override the default value by setting BookmarkType to 1.

For more information: See the section on user agent profiles in the rate control chapter of Helix Mobile Systems Integration Guide.

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com