Skip to content

Commit

Permalink
reset fragCurrent (onBufferFlushed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Toczko committed Nov 29, 2018
1 parent d220125 commit c361b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/stream-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,7 @@ class StreamController extends TaskLoop {
this.state = State.IDLE;
// reset reference to frag
this.fragPrevious = null;
this.fragCurrent = null;
}

swapAudioCodec () {
Expand Down

0 comments on commit c361b8d

Please sign in to comment.