ILMNetMux::put_LiveSource

#include "ILMNetMux2.h"

C Syntax

HRESULT ILMNetMux__put_LiveSource(pNetMux, Live)

C++ Syntax

HRESULT put_LiveSource(Live)

 

ILMNetMux *pNetMux;

/* pointer to an interface */

VARIANT_BOOL Live;

/* flag */

Determines whether to treat the media source as a live source.

Parameter

Description

pNetMux

Pointer to an ILMNetMux interface.

Live

Value that indicates whether to treat the media source as a live source. Possible values are:

 

Value

Meaning

 

VARIANT_TRUE

The source is treated as a live source. Dropping samples is allowed if the output is lagging behind the source.

 

VARIANT_FALSE

The source is not live. The multiplexer A module that combines audio and video into one file. will buffer more samples to keep up with the source.

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.

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.

Platforms

Win32, x64

See Also

Functions:

ILMNetMux::get_LiveSource

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.