I’m having trouble getting webvtt captions to work when streaming HLS from a vods3cf application.
My SMIL file looks like this:
<smil>
<head />
<body>
<switch>
<video src="mp4:video-hd.mp4" system-bitrate="3206200" width="1280" height="544" title="HD" />
<video src="mp4:video-sd.mp4" system-bitrate="736160" width="640" height="272" title="SD" />
<textstream src="captions.srt" system-language="eng">
<param name="isWowzaCaptionStream" value="true" />
</textstream>
</switch>
</body>
</smil>
I’ve configured the TimedText section of my conf/vods3cf/Application.xml as follows:
<TimedText>
<!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionproviderwebvtt, vodcaptionprovidersrt, vodcaptionproviderscc -->
<VODTimedTextProviders>vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionproviderwebvtt, vodcaptionprovidersrt, vodcaptionproviderscc</VODTimedTextProviders>
<!-- Properties for TimedText -->
<Properties>
<Property>
<Name>cupertinoVODCaptionsEnabled</Name>
<Type>Boolean</Type>
<Value>true</Value>
</Property>
<Property>
<Name>cupertinoVODCaptionsUseWebVTT</Name>
<Type>Boolean</Type>
<Value>true</Value>
</Property>
</Properties>
</TimedText>
The video plays using HTML5 Video tag on OSX/Safari, and the caption button appears with “English” as an option, but the captions themselves do not appear in the video. The only errors I see in the access and error logs have to do with failure to load srt files associated with the video files, not the srt file called out in the SMIL:
MediaCacheItemBase.init: Item does not exist: amazons3/myassetsbucket/files/8f45781ef8f740e4b1f58fae01e1b30b/video-sd.srt
Is it possible to load caption files this way when using HLS over the vods3cf application?