Creating a Media Server Using the ltmsServer Object
Perform the following steps to create a media server using the ltmsServer object:
- Set up a folder containing the source media files.
- Make sure you have applied your license to the library. See Setting a Runtime License for details.
- Create an instance of the ltmsServer Object, acquiring the IltmsServer Interface. All properties are set to default values.
- (Optional) Set up logging by providing your implementation of an IltmsLogHandler through IltmsServer::putref_LogHandler.
- (Optional) Set up the server configuration by calling IltmsServer::ImportConfigFile, IltmsServer::ImportConfigString, or setting the ltmsServer properties individually.
- Call IltmsServer::Start to run the server.
-
(Optional) Add Live Server sources. A new live source can be added by using the following steps for each:
- Stream video from the server using browsers or media players.
- Call IltmsServer::Stop when finished.