By default all live streams activate the moment the server is run. This means that capture devices and encoders are busy working, even if no client is accessing the stream. If you have a server with a large number of live streams, it may be more efficient to delay activating the live stream until it is requested by a client. Perform the following steps to do so:
1. |
While configuring your live stream, call IltmsLiveStream::put_ActivateOnDemand using VARIANT_TRUE. This will instruct the server to delay activation until the stream is requested by a client. |
2. |
(Optionally). Call IltmsLiveStream::put_IdleTimeOut. This value determines the amount of idle time to wait before deactivating the live stream. By default the value is set to 5 minutes. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document