EMediaEvent

Enumerates media player related events.

Choose your operating system:

Windows

macOS

Linux

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaEventSink.h

Include

#include "IMediaEventSink.h"

Syntax

enum EMediaEvent
{
    MediaBuffering,
    MediaClosed,
    MediaConnecting,
    MediaOpened,
    MediaOpenFailed,
    PlaybackEndReached,
    PlaybackResumed,
    PlaybackSuspended,
    SeekCompleted,
    TracksChanged,
    Internal_Start,
    Internal_PurgeVideoSamplesHint      = Internal_Start,
    Internal_ResetForDiscontinuity,
    Internal_RenderClockStart,
    Internal_RenderClockStop,
    Internal_VideoSamplesAvailable,
    Internal_VideoSamplesUnavailable,
    Internal_AudioSamplesAvailable,
    Internal_AudioSamplesUnavailable,
}

Values

Name

Description

MediaBuffering

The media source started buffering data.

MediaClosed

The current media source has been closed.

MediaConnecting

The player started connecting to the media source.

MediaOpened

A new media source has been opened.

MediaOpenFailed

A media source failed to open.

PlaybackEndReached

The end of the media (or beginning if playing in reverse) has been reached.

PlaybackResumed

Playback has been resumed.

PlaybackSuspended

Playback has been suspended.

SeekCompleted

Seek operation has completed successfully.

TracksChanged

Media tracks have changed.

Internal_Start

Start of internal events not sent out to user code.

Internal_PurgeVideoSamplesHint

Player requests purge of outdated video samples from queues.

Internal_ResetForDiscontinuity

Player requests an internal reset of all queues and timing.

Internal_RenderClockStart

Player requests render clock to start and stop in preparation for moving playback to a new position.

Internal_RenderClockStop

Internal_VideoSamplesAvailable

Player notifies about availability or unavailablity of media samples.

Internal_VideoSamplesUnavailable

Internal_AudioSamplesAvailable

Internal_AudioSamplesUnavailable

Remarks

Enumerates media player related events.