()
| 168 | public startLoad(startPosition: number): void {} |
| 169 | |
| 170 | public stopLoad() { |
| 171 | if (this.state === State.STOPPED) { |
| 172 | return; |
| 173 | } |
| 174 | this.fragmentLoader.abort(); |
| 175 | this.keyLoader.abort(this.playlistType); |
| 176 | const frag = this.fragCurrent; |
| 177 | if (frag?.loader) { |
| 178 | frag.abortRequests(); |
| 179 | this.fragmentTracker.removeFragment(frag); |
| 180 | } |
| 181 | this.resetTransmuxer(); |
| 182 | this.fragCurrent = null; |
| 183 | this.fragPrevious = null; |
| 184 | this.clearInterval(); |
| 185 | this.clearNextTick(); |
| 186 | this.state = State.STOPPED; |
| 187 | } |
| 188 | |
| 189 | public get startPositionValue(): number { |
| 190 | const { nextLoadPosition, startPosition } = this; |
no test coverage detected