Hi Wowza community.
We have strict rules on our content so we have to distribute only parts of our audio and video files. We are currently using RTMP as our protocol and we have written a module that sets start time and end time on our files.
This is our current code that overrides play():
This code works very well. Our problem is that we are unable to seek in the flash player (JWPlayer) when we cut the file. When we drag the slider the video/audio stops. What can we do to fix this problem?
AMFDataList customDataList = new AMFDataList();
customDataList.add(new AMFDataItem(info.getOffset()*1000)); // start
customDataList.add(new AMFDataItem(info.getExtent()*1000)); //duration
customDataList.add(new AMFDataItem(true)); //reset
invokePrevious(this, client, function, customDataList);