Constructor
new ProgramDateTimeObserver(timelinenon-null)
Parameters:
| Name | Type | Description |
|---|---|---|
timeline |
shaka.media.PresentationTimeline |
- Implements:
- Source:
Members
previousBase_ :number
The base (|pdt - start|) of the region the playhead was last seen in, or
null if we have not established a baseline yet.
Type:
- number
timeline_ :shaka.media.PresentationTimeline
Type:
Methods
poll(positionInSeconds, wasSeeking)
Check again (using an update playhead summary) if an event should be fired.
If an event should be fired, fire it.
Parameters:
| Name | Type | Description |
|---|---|---|
positionInSeconds |
number | |
wasSeeking |
boolean |
- Implements:
- Source:
release()
Request that this object release all internal references.
- Inherited From:
- Implements:
- Source: