<?php

declare(strict_types=1);

namespace Drupal\ffmpeg_media\Event;

/**
 * Defines event names for the FFmpeg Media module.
 */
final class FFmpegMediaEvents {

  /**
   * Fired when a video conversion starts.
   *
   * @Event
   *
   * @see \Drupal\ffmpeg_media\Event\ConversionStartedEvent
   */
  public const string CONVERSION_STARTED = 'ffmpeg_media.conversion.started';

  /**
   * Fired periodically during video conversion with progress updates.
   *
   * @Event
   *
   * @see \Drupal\ffmpeg_media\Event\ConversionProgressEvent
   */
  public const string CONVERSION_PROGRESS = 'ffmpeg_media.conversion.progress';

  /**
   * Fired when a video conversion completes successfully.
   *
   * @Event
   *
   * @see \Drupal\ffmpeg_media\Event\ConversionCompletedEvent
   */
  public const string CONVERSION_COMPLETED = 'ffmpeg_media.conversion.completed';

  /**
   * Fired when a video conversion fails.
   *
   * @Event
   *
   * @see \Drupal\ffmpeg_media\Event\ConversionFailedEvent
   */
  public const string CONVERSION_FAILED = 'ffmpeg_media.conversion.failed';

}
