Redigera

Dela via


MF_MP2DLNA_AUDIO_BIT_RATE attribute

Specifies the maximum audio bit rate for the Digital Living Network Alliance (DLNA) media sink.

Data type

UINT32

The value is the target maximum bit rate for the encoded audio stream, in bits per second. The value must be one of the bit rates allowed for MPEG-2 layer 2 audio for DLNA. The default value is 192000 (192 Kbps).

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Remarks

To set this attribute on the DLNA media sink, query the media sink for the IMFAttributes interface. Set the attribute before streaming begins.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
Mfmp2dlna.h

See also

Alphabetical List of Media Foundation Attributes