resume method

void resume()

Resumes receiving media.

Implementation

void resume() {
  _logger.debug('resume()');

  if (closed) {
    _logger.error('resume() | Consumer closed.');

    return;
  }

  paused = false;
  track.enabled = true;

  // Emit observer event.
  observer.safeEmit('resume');
}