files/en-us/web/api/sourcebuffer/timestampoffset/index.md
{{APIRef("Media Source Extensions")}}{{AvailableInWorkers("window_and_dedicated")}}
The timestampOffset property of the
{{domxref("SourceBuffer")}} interface controls the offset applied to timestamps inside
media segments that are appended to the SourceBuffer.
The initial value of timestampOffset is 0.
A double, with the offset amount expressed in seconds.
The following exception may be thrown when setting a new value for this property:
InvalidStateError {{domxref("DOMException")}}
true), a media segment inside the
SourceBuffer is currently being parsed, or this
SourceBuffer has been removed from the
{{domxref("MediaSource")}}.TBD
{{Specifications}}
{{Compat}}