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. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET