Installation¶
Copy the downloaded jar file into the
lib
directory of the Wowza installationAdd the required module(s) to the list of modules in the desired application. To see which particular modules you need to add, please read the use-cases section of the documentation.
<Modules> ... <Module> <Name>ModuleCupertinoLiveOnTextToID3</Name> <Description>Turns onTextData stream events into ID3 tags</Description> <Class>com.raskenlund.caption.ModuleCupertinoLiveOnTextToID3</Class> </Module> <Module> <Name>ModuleLiveOpenCaptions</Name> <Description>ModuleLiveOpenCaptions</Description> <Class>com.raskenlund.caption.ModuleLiveOpenCaptions</Class> </Module> <Module> <Name>ModuleOnTextDataToCEA608</Name> <Description>ModuleOnTextDataToCEA608</Description> <Class>com.raskenlund.caption.ModuleOnTextDataToCEA608</Class> </Module> </Modules>
Add the below snippet to the
VHost.xml
to enable the REST API. Please make sure this is not placed after an other provider that would catch similar requests, eg. after one that would match * requests.Don’t forget that there can be multiple actively used
HostPort
entries in your configuration and you need to add the HTTP provider to the one on which you are planning to receive API calls.The authentication method can be set to any of the values supported by Wowza Streaming Engine, it is set to none below for simplicity.
<HTTPProvider> <BaseClass>com.raskenlund.caption.HttpProviderCaptionApi</BaseClass> <RequestFilters>captions*</RequestFilters> <AuthenticationMethod>none</AuthenticationMethod> </HTTPProvider>
Once the modules have been installed, please restart Wowza Streaming Engine.