Implementing Activate-on-Demand Support

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: 


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.


(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 Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Streaming C API Help