On Mon, May 24, 2010 at 5:54 PM, Philip Jägenstedt <span dir="ltr"><<a href="mailto:philipj@opera.com">philipj@opera.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div>So from this I gather that either:<br></div>
<br>
1. initialTime is always 0<br>
<br>
or<br>
<br>
2. duration is not the duration of resource, but the time at the end.<br></blockquote><div><br>I wouldn't say that. If you can seek backwards to before the initial time, then clearly 'duration' really is still the duration, you just didn't start at the beginning. Same goes even if you can't seek backwards; e.g. "this live stream is an hour long and you have started 20 minutes into it".<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
This seems to be what is already in the spec. Instead of guessing what everyone means, here's what I'd want:<br>
<br>
1. let currentTime always start at 0, regardless of what the timestamps or other metadata of the media resource says.<br>
<br>
2. let currentTime always end at duration.<br>
<br>
3. expose an offset from 0 in startTime or a renamed attribute for cases like live streaming so that the client can e.g. sync slides.<br>
<br>
The difference from what the spec says is that the concept of "earliest possible position" is dropped.<br clear="all"></blockquote></div><br>I think the current spec allows you to seek backwards from the starting point. So would my proposal. Would yours? Would you allow 'seekable' to contain negative times? I think it's slightly simpler to allow currentTime to start at a non-zero position than to allow negative times and to support the offset in your point 3.<br>
<br>I also think your point 3 would be slightly harder to spec. I'm not sure what you'd say.<br><br>Rob<br>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]<br>