Reset function does not work, it throws an exception
index.js:108 [Deprecation] Setting MediaSource.duration below the highest presentation timestamp of any buffered coded frames is deprecated due to specification change. Support for implicit removal of truncated buffered media will be removed in the future. You should instead perform explicit remove(newDuration, oldDuration) on all sourceBuffers, where newDuration < oldDuration. See https://www.chromestatus.com/features/6107495151960064 for more details.
ERROR DOMException: Failed to execute 'endOfStream' on 'MediaSource': The 'updating' attribute is true on one or more of this MediaSource's SourceBuffers.
at VideoConverter.push../node_modules/h264-converter/dist/index.js.VideoConverter.reset
Reset function does not work, it throws an exception