Table of Contents

Enum MediaEventType

Namespace
NAudio.MediaFoundation
Assembly
NAudio.Wasapi.dll

See mfobjects.h

public enum MediaEventType

Fields

MEAudioSessionDeviceRemoved = 315

The audio device was removed.

MEAudioSessionDisconnected = 320

The audio session was disconnected from a Windows Terminal Services session

MEAudioSessionExclusiveModeOverride = 321

The audio session was preempted by an exclusive-mode connection.

MEAudioSessionFormatChanged = 319

The default audio format for the audio device changed.

MEAudioSessionGroupingParamChanged = 317

The grouping parameters changed for the audio session.

MEAudioSessionIconChanged = 318

The audio session icon changed.

MEAudioSessionNameChanged = 313

The audio session display name changed.

MEAudioSessionServerShutdown = 316

The Windows audio server system was shut down.

MEAudioSessionVolumeChanged = 314

The volume or mute state of the audio session changed

MEBufferingStarted = 122

A media source started to buffer data.

MEBufferingStopped = 123

A media source stopped buffering data.

MEConnectEnd = 125

The network source finished opening a URL.

MEConnectStart = 124

The network source started opening a URL.

MEContentProtectionMessage = 402

Content protection message

MEEnablerCompleted = 119

A content enabler object's action is complete.

MEEnablerProgress = 118

Signals the progress of a content enabler object.

MEEndOfPresentation = 211

Raised by a media source when a presentation ends.

MEEndOfPresentationSegment = 218

Raised by the sequencer source when a segment is completed and is followed by another segment.

MEEndOfStream = 212

Raised by a media stream when the stream ends.

MEError = 1

Signals a serious error.

MEExtendedType = 2

Custom event type.

MEIndividualizationCompleted = 117

Individualization is complete.

MEIndividualizationStart = 116

Individualization is about to begin.

MELicenseAcquisitionCompleted = 115

License acquisition is complete.

MELicenseAcquisitionStart = 114

License acquisition is about to begin.

MEMediaSample = 213

Raised when a media stream delivers a new sample.

MENewPresentation = 113

Raised by a media source a new presentation is ready.

MENewStream = 205

Raised by a media source when it starts a new stream.

MENonFatalError = 3

A non-fatal error occurred during streaming.

MEPolicyChanged = 401

The output policy for a stream changed.

MEPolicyError = 120

Raised by a trusted output if an error occurs while enforcing the output policy.

MEPolicyReport = 121

Contains status information about the enforcement of an output policy.

MEPolicySet = 403

The IMFOutputTrustAuthority::SetPolicy method completed.

MEQualityNotify = 311

Provides feedback about playback quality to the quality manager.

MEReconnectEnd = 127

Raised by a media source at the end of a reconnection attempt.

MEReconnectStart = 126

Raised by a media source at the start of a reconnection attempt.

MERendererEvent = 128

Raised by the enhanced video renderer (EVR) when it receives a user event from the presenter.

MESequencerSourceTopologyUpdated = 222

Raised by the sequencer source when the IMFSequencerSource::UpdateTopology method completes asynchronously.

MESessionCapabilitiesChanged = 110

Raised by the Media Session when the session capabilities change.

MESessionClosed = 106

Raised when the IMFMediaSession::Close method completes asynchronously.

MESessionEnded = 107

Raised by the Media Session when it has finished playing the last presentation in the playback queue.

MESessionNotifyPresentationTime = 112

Raised by the Media Session when a new presentation starts.

MESessionPaused = 104

Raised when the IMFMediaSession::Pause method completes asynchronously.

MESessionRateChanged = 108

Raised by the Media Session when the playback rate changes.

MESessionScrubSampleComplete = 109

Raised by the Media Session when it completes a scrubbing request.

MESessionStarted = 103

Raised when the IMFMediaSession::Start method completes asynchronously.

MESessionStopped = 105

Raised when the IMFMediaSession::Stop method completes asynchronously.

MESessionStreamSinkFormatChanged = 129

Raised by the Media Session when the format changes on a media sink.

MESessionTopologiesCleared = 102

Raised by the Media Session when the IMFMediaSession::ClearTopologies method completes asynchronously.

MESessionTopologySet = 101

Raised after the IMFMediaSession::SetTopology method completes asynchronously

MESessionTopologyStatus = 111

Raised by the Media Session when the status of a topology changes.

MESessionUnknown = 100

Session Unknown

MESinkInvalidated = 312

Raised when a media sink becomes invalid.

MESinkUnknown = 300

Sink Unknown

MESourceCharacteristicsChanged = 219

Raised by a media source when the source's characteristics change.

MESourceMetadataChanged = 221

Raised by a media source when it updates its metadata.

MESourcePaused = 209

Raised by a media source when the IMFMediaSource::Pause method completes asynchronously.

MESourceRateChangeRequested = 220

Raised by a media source to request a new playback rate.

MESourceRateChanged = 217

Raised by a media source when the playback rate changes.

MESourceSeeked = 203

Raised when a media source seeks to a new position.

MESourceStarted = 201

Raised when a media source starts without seeking.

MESourceStopped = 207

Raised by a media source when the IMFMediaSource::Stop method completes asynchronously.

MESourceUnknown = 200

Source Unknown

MEStreamFormatChanged = 216

Raised by a media stream when the media type of the stream changes.

MEStreamPaused = 210

Raised by a media stream when the IMFMediaSource::Pause method completes asynchronously.

MEStreamSeeked = 204

Raised by a media stream after a call to IMFMediaSource::Start causes a seek in the stream.

MEStreamSinkDeviceChanged = 310

Raised by the stream sinks of the EVR if the video device changes.

MEStreamSinkFormatChanged = 309

Raised by a stream sink when the sink's media type is no longer valid.

MEStreamSinkMarker = 306

Raised by a stream sink after the IMFStreamSink::PlaceMarker method is called.

MEStreamSinkPaused = 303

Raised by a stream sink when it completes the transition to the paused state.

MEStreamSinkPrerolled = 307

Raised by a stream sink when the stream has received enough preroll data to begin rendering.

MEStreamSinkRateChanged = 304

Raised by a stream sink when the rate has changed.

MEStreamSinkRequestSample = 305

Raised by a stream sink to request a new media sample from the pipeline.

MEStreamSinkScrubSampleComplete = 308

Raised by a stream sink when it completes a scrubbing request.

MEStreamSinkStarted = 301

Raised by a stream sink when it completes the transition to the running state.

MEStreamSinkStopped = 302

Raised by a stream sink when it completes the transition to the stopped state.

MEStreamStarted = 202

Raised by a media stream when the source starts without seeking.

MEStreamStopped = 208

Raised by a media stream when the IMFMediaSource::Stop method completes asynchronously.

MEStreamThinMode = 215

Raised by a media stream when it starts or stops thinning the stream.

MEStreamTick = 214

Signals that a media stream does not have data available at a specified time.

METransformDrainComplete = 603

Sent by an asynchronous Media Foundation transform (MFT) when a drain operation is complete.

METransformHaveOutput = 602

Sent by an asynchronous MFT when new output data is available from the MFT.

METransformMarker = 604

Sent by an asynchronous MFT in response to an MFT_MESSAGE_COMMAND_MARKER message.

METransformNeedInput = 601

Sent by an asynchronous MFT to request a new input sample.

METransformUnknown = 600

Transform Unknown

METrustUnknown = 400

Trust Unknown

MEUnknown = 0

Unknown event type.

MEUpdatedStream = 206

Raised by a media source when it restarts or seeks a stream that is already active.

MEWMDRMIndividualizationCompleted = 508

DRM Individualization Completed

MEWMDRMIndividualizationProgress = 513

DRM Individualization Progress

MEWMDRMLicenseAcquisitionCompleted = 506

DRM License Acquisition Completed

MEWMDRMLicenseBackupCompleted = 500

DRM License Backup Completed

MEWMDRMLicenseBackupProgress = 501

DRM License Backup Progress

MEWMDRMLicenseRestoreCompleted = 502

DRM License Restore Completed

MEWMDRMLicenseRestoreProgress = 503

DRM License Restore Progress

MEWMDRMLicenseStoreCleaned = 515

DRM License Store Cleaned

MEWMDRMProximityCompleted = 514

DRM Proximity Completed

MEWMDRMRevocationDownloadCompleted = 516

DRM Revocation Download Completed