()
| 268 | } |
| 269 | |
| 270 | public async getNextFrame() { |
| 271 | await this.populateBuffer(); |
| 272 | const frame = this.frameBuffer.shift(); |
| 273 | if (frame) { |
| 274 | this.framesProcessed++; |
| 275 | } |
| 276 | return frame; |
| 277 | } |
| 278 | |
| 279 | /** |
| 280 | * Called when we are done with the extractor. |
no test coverage detected