Wowza Community

Get content directory in Custom Module

Is there a way to get the path of the content module in a custom Module (extending ModuleBase)?

You can do:

public void onAppStart(IApplicationInstance appInstance) {
		String dir = appInstance.getStreamStorageDir();
		String path = appInstance.getStreamStoragePath();
	}

Richard