Skip to content

Latest commit

 

History

History
58 lines (33 loc) · 2.4 KB

meaudiosessiondisconnected.md

File metadata and controls

58 lines (33 loc) · 2.4 KB
description ms.assetid title ms.topic ms.date
Raised by the audio renderer when the audio session is disconnected from a Windows Terminal Services (WTS) session. The audio renderer is now invalid.
08f9844c-f3b1-4d60-990e-9131f3312f6b
MEAudioSessionDisconnected event (Mfobjects.h)
reference
05/31/2018

MEAudioSessionDisconnected event

Raised by the audio renderer when the audio session is disconnected from a Windows Terminal Services (WTS) session. The audio renderer is now invalid.

The Media Session forwards this event to the application.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
VT_EMPTY
No event data.

VT_UNKNOWN
Pointer to the IMFAudioPolicy interface.

Remarks

This event is sent by the audio renderer's stream sink. The event is triggered when the audio renderer receives an IAudioSessionEvents::OnSessionDisconnected event from the audio session with the disconnection reason equal to DisconnectReasonSessionDisconnected.

The IMFAudioPolicy pointer, if set, is not useful, because the audio stream is no longer valid.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events

Streaming Audio Renderer