cablelabs/rygel — pull request #28 by craigpratt (2014-11-03 10:55:34+00:00)
Title: Added ODIDMediaEngine support to not present strict-live resources as st...

ODIDMediaEngine supports the presentation of resources that have lost their
live resource. e.g. A recording which goes from in-progress to complete.
But this is not always desirable. e.g. Stopped strict-live resources don't
have content to present.

This change enabled "instant autoreset" (having a resource go back to
start state immediately upon simulator stop) for strict-live resources
and any time that live-sim-autoreset-time is 0.

Tested with strict-live resources and live-sim-autoreset-time of 0 and
30. Confirmed correct operation for strict-live and recording-mode
resources via log.