ILMNetMux::put_MaxQueueDuration

#include "ILMNetMux2.h"

C Syntax

HRESULT ILMNetDmx_put_MaxQueueDuration(pNetMux, MaxQueueDuration)

C++ Syntax

HRESULT put_MaxQueueDuration(MaxQueueDuration)

 

ILMNetMux * pNetMux;

/* pointer to an interface */

long *MaxQueueDuration;

/* pointer to a variable */

Sets the maximum amount of time, in seconds, that the multiplexer will be allowed to queue data before dropping frames.

Parameter

Description

pNetMux

Pointer to an ILMNetMux interface.

MaxQueueDuration

Pointer to a variable that indicates the maximum amount of time, in seconds, that the multiplexer will be allowed to queue data.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

The default is 5.0. To get the current forced bit rate, call ILMNetMux::get_MaxQueueDuration.

Required DLLs and Libraries

LMNetMux
DSKernel

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

ILMNetMux::get_MaxQueueDuration

Topics:

Video Streaming Function Groups, Multimedia Function Group, DVD Function Groups

Example

For a C or C++ example, refer to A Complete Example: Server and Client.