In This Topic ▼

IltmsLiveStream::put_IdleTimeOut

#include "ltms.h"

C Syntax

HRESULT IltmsLiveStream-put-IdleTimeOut(pLiveStream , newVal)

C++ Syntax

HRESULT put_IdleTimeOut(newVal)

IltmsLiveStream *pLiveStream ;

pointer to an interface

LONG newVal;

idle time out

Sets the amount of idle time to wait before deactivating an "activate on demand" stream.

Parameter

Description

pLiveStream

Pointer to an IltmsLiveStream interface.

newVal

A long value indicating the amount of idle time to wait until an "activate on demand" stream is deactivated (in milliseconds).

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

Required DLLs and Libraries

LTMS

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

Elements:

IltmsLiveStream Interface, IltmsLiveStream::get_IdleTimeOut

Topics:

Media Streaming Function Groups

Example

For a C++ example, refer to the Create or Replace Live Stream Example for C++.

Help Version 22.0.2021.10.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Streaming C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.