jwplayer/jwplayer — pull request #175 by joeylgutierrez (2014-10-04 02:53:23+00:00)
Title: Adding start and len functionality for RTMP clipping

I've implemented the start and len features per http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#play() for a personal project to allow a user to supply those parameters and only get that part of the stream. The start param will cut off the stream content prior to that point and the len will clip the end of the stream after the duration length is met. I saw that start and duration were already implemented to seek forward and really duration didn't seem to do anything for me. I didn't know where to post this so i'm just submitting this as a pull-request if the project is interested in this functionality.

My example would be like
jwplayer("myElement").setup({
primary: 'flash',
playlist: [
{
start: start,
len: len,
sources: [
{file: "rtmp://myserver/void/mystream"}
]
}
]
});