How to create an IClient object

There are occasions where code within Wowza requires an IClient object, however you find that either there are no connections or none available within the class space you are working within.

You can create an IClient object with the following code

IClient thisClient = new Client(appInstance.getVHost(),Server.getInstance().getClientIdGenerator().getNextId());

This will then allow you to pass the created object into code without the need to have a client connection.

Comments are closed.