Media Encoder2027
Object

EncoderHostWrapperEvent

Provides the following event types for items in the batch queue: onItemEncodingStarted, onAudioPreEncodeProgress, onEncodingItemProgressUpdate, onItemEncodeComplete.For multiple batch items in the queue we recommend to use this event to ensure that the event types will be received for all batch items.It provides the following event type for the whole batch queue: onBatchEncoderStatusChanged.

Properties

NameType AccessDescription
String readonly Returns the audio pre-encoding info for the event type onAudioPreEncodeProgress (available since 24.0).
Number readonly Returns the audio pre-encoding progress for the event type onAudioPreEncodeProgress (available since 24.0).
Varies readonly
static String readonly Notify when the audio pre-encode progress changes (available since 24.0).
static String readonly Notify when the batch encoder status has changed. Get the new status from the batchEncoderStatus property. (available since 23.3)
static String readonly Notify of the batch item encoding progress (available since 23.1).
static String readonly Notify when the batch item has been encoded.
static String readonly Notify when the batch item encoding started (available since 23.1).
String readonly Returns the path of the output file. Can be called for onItemEncodingStarted and onItemEncodeComplete events.
Number readonly Returns the encoding progress between 0 and 1. Can be called for onEncodingItemProgressUpdate event.
String readonly Returns the encoding result 'True' or 'False'. Can be called for onItemEncodeComplete event.
String readonly Returns the path of the source file. Can be called for onItemEncodingStarted and onItemEncodeComplete events.

Methods

static → Varies

static → Varies

static → Varies