Make sure you have specified streamType of your media resource as StreamType.DVR. It is possible to connect to LIVE stream also using the same dvr application/stream name. Live stream time trait has NaN as a duration value - so it seems you are getting the wrong stream. The above goes for default Adobe DVR application on FMS.
I have the streamType set to DVR. Is there any other reason it may be connect as if it were a Live stream?
Do not know, actually.
We have a DVR implemented using OSMF and standard Adobe DVR FMS application.
Total time is updated although it is not accurate because it is partially synthetic (accourding to OSMF source code).
Could you share what server/application you are using and how do you create video elements for application?