IWMEncAudienceObj::put_VideoBufferMax

Windows Media Encoder SDK banner art

The put_VideoBufferMax method specifies the maximum size of the video buffer when using peak VBR mode.

Syntax

HRESULT put_VideoBufferMax(
  short  iRenderSiteIndex,
  long  lBMax
);

Parameters

iRenderSiteIndex

[in]  short containing the audience stream index. Because an audience can only contain one stream of each type, iRenderSiteIndex must be zero.

lBMax

[in]  long that indicates the size of the video buffer, in milliseconds.

Return Values

If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.

Remarks

The put_VideoBufferMax method indicates the maximum time that a client must wait to play video content that was encoded at peak variable bit rate (VBR).

Requirements

Header: wmencode.h

Library: wmenc.exe

See Also