Hi,
FMLE outputs a timestamp function which you should be able to get in the player.
http://www.longtailvideo.com/support/forums/jw-player/servers-and-streaming/33048/retrieving-timestamp-system-date-and-time-embedded-by-fmle-in-jwplayer6-hls-stream/
You can use a custom Wowza module to get this function (and other stream functions like onMetaData) from the encoder.
package test;
import com.wowza.wms.amf.AMFDataList;
import com.wowza.wms.module.ModuleBase;
import com.wowza.wms.request.RequestFunction;
import com.wowza.wms.stream.IMediaStream;
import com.wowza.wms.stream.IMediaStreamCallback;
public class Test extends ModuleBase {
class CallbackListener implements IMediaStreamCallback
{
public void onCallback(IMediaStream stream, RequestFunction function, AMFDataList params) {
System.out.println(params.toString());
}
}
private CallbackListener callbackListener = new CallbackListener();
public void onStreamCreate(IMediaStream stream) {
stream.addCalbackListener(callbackListener);
}
public void onStreamDestroy(IMediaStream stream)
{
stream.removeCalbackListener(callbackListener);
}
}
onCallback will be called for each data function in the stream. You can test param[0] to see if it is onFL and then work with the sd & st values.
You should probably test if the stream is a fmle publish stream before setting the listener.
Output is like the following.
INFO stream publish myStream -
AMFDataList:
[0] @setDataFrame
[1] onMetaData
[2] object
{Obj[]: author: "", copyright: "", description: "", keywords: "", rating: "", title: "", presetname: "Custom", creationdate: "Mon Aug 19 19:01:59 2013
", videodevice: "FaceTime HD Camera (Built-in)", framerate: 15.0, width: 1920.0, height: 1080.0, videocodecid: "avc1", videodatarate: 800.0, avclevel: 40.0, avcprofile: 77.0, videokeyframe_frequency: 2.0, audiodevice: "Internal microphone", audiosamplerate: 48000.0, audiochannels: 2.0, audioinputvolume: 75.0, audiocodecid: "mp4a", audiodatarate: 64.0}
AMFDataList:
[0] onFI
[1] {MixedArray: sd: "19-08-2013", st: "19:04:00.388"}
AMFDataList:
[0] onFI
[1] {MixedArray: sd: "19-08-2013", st: "19:04:01.456"}
. . .
Roger.