Hello - I am using Wowza version: 3.5.2.02 build4123
I am successfully injecting captions into a Live Stream using this server-side code:
I can view the captions in FlowPlayer (but not JWPlayer, as they can't seem to handle live captions), and also with the CEA-608 code you've provided, I am getting the captions down to IOS (Live AND OnDemand) with no problem!
AMFDataObj amfData = new AMFDataObj();
amfData.put("text", new AMFDataItem(caption));
amfData.put("language", new AMFDataItem("eng"));
amfData.put("trackid", new AMFDataItem(99));
However, when I record the stream locally on the server, I do not seem to get the captions captured (either in Flow or JW, with console logging enabled - i see onMetaData events fine in the console when using both, in LIVE mode, just not OnDemand, once the file is recorded). Additionally, I do see *some* metadata being pushed down in OnDemand mode, but it appears to be all "buffer" data events, so I know something is being captured. I've enabled (on the live point that I'm capturing) this code in Streams/Properties:
...and call the Recording of the file like this from server-side:
What am I doing incorrectly that is precluding my captions from (apparently) being recorded.
IMediaStream mediaStream = appInstance.getStreams().getStream(streamName);
LiveStreamRecordContainer container = new LiveStreamRecordContainer(new Date(), new LiveStreamRecorderMP4());
// Record Data...
// Set to true if you want to version the previous file rather than overwrite it
// If recording only audio set this to false so the recording starts immediately
// file writer...
String outputPath = "/foo.mp4"
// start recording
container.Recorder.startRecording(mediaStream, outputPath, false);