Forum Discussion

dhoard's avatar
dhoard
Visitor
11 years ago

Code to store playback position of last X streams played

I'm currently using a REST API on a server to store the playback position value, but want to remove that dependency.

Does anyone have any code / pointers to code to store the playback position in the local registry for the last X streams played ? Basically a performant registry based persistent MRU implementation.

Most examples seem to blindly just store the media id (key)/ playback position (value) and hope the registry won't become full. Removing the key / value when the playback position is at the end of the stream will help alleviate the storage concern, but there still is an edge case.

Thanks,

-Doug

11 Replies