()
| 149 | } |
| 150 | |
| 151 | snapshot(): TransportClockSnapshot { |
| 152 | return { |
| 153 | time: this.now(), |
| 154 | playing: this.isPlaying(), |
| 155 | rate: this._rate, |
| 156 | duration: this._duration, |
| 157 | source: this.getSource(), |
| 158 | }; |
| 159 | } |
| 160 | |
| 161 | reachedEnd(): boolean { |
| 162 | return Number.isFinite(this._duration) && this.now() >= this._duration; |
no test coverage detected