Home > hls.js > Hls > recoverMediaError
Hls.recoverMediaError() method
When the media-element fails, this allows to detach and then re-attach it as one call (convenience method).
Automatic recovery of media-errors by this process is configurable.
Signature:
recoverMediaError(): void;
Returns:
void