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():
AMFDataList customDataList = new AMFDataList();
customDataList.add("play");
customDataList.add(0.0);
customDataList.add("null");
customDataList.add(new AMFDataItem("mp3:"+info.getFileName()));
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);
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?