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: 

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.

   

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Media Streaming C API Help
Click or drag to resize