diff --git a/API.md b/API.md index c03885d..cf8dc04 100644 --- a/API.md +++ b/API.md @@ -13,7 +13,7 @@ * [.getLiveMediaSequenceAudioSegments(audioGroupId, audioLanguage, seqIdx)](#HLSVod+getLiveMediaSequenceAudioSegments) * [.getBandwidths()](#HLSVod+getBandwidths) * [.getLiveMediaSequencesCount()](#HLSVod+getLiveMediaSequencesCount) - * [.getLiveMediaSequences(offset, bandwidth, seqIdx, discOffset)](#HLSVod+getLiveMediaSequences) + * [.getLiveMediaSequences(offset, bandwidth, seqIdx, discOffset, padding)](#HLSVod+getLiveMediaSequences) * [.getLiveMediaAudioSequences()](#HLSVod+getLiveMediaAudioSequences) * [.getUsageProfiles()](#HLSVod+getUsageProfiles) * [.getLastDiscontinuity()](#HLSVod+getLastDiscontinuity) @@ -111,7 +111,7 @@ Get the number of media sequences for this VOD **Kind**: instance method of [HLSVod](#HLSVod) -### hlsVod.getLiveMediaSequences(offset, bandwidth, seqIdx, discOffset) +### hlsVod.getLiveMediaSequences(offset, bandwidth, seqIdx, discOffset, padding) Get the HLS live media sequence for a specific media sequence and bandwidth **Kind**: instance method of [HLSVod](#HLSVod) @@ -122,6 +122,7 @@ Get the HLS live media sequence for a specific media sequence and bandwidth | bandwidth | string | | | seqIdx | number | | | discOffset | number | add this offset to all discontinuity sequences in the EXT-X-DISCONTINUITY-SEQUENCE tag | +| padding | number | add extra seconds on the EXT-X-TARGETDURATION | diff --git a/package-lock.json b/package-lock.json index fd6a4ee..a370c72 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@eyevinn/hls-vodtolive", - "version": "1.12.0", + "version": "1.13.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@eyevinn/hls-vodtolive", - "version": "1.12.0", + "version": "1.13.0", "license": "MIT", "dependencies": { "@eyevinn/m3u8": "^0.4.0", diff --git a/package.json b/package.json index 9b8f7b8..15b5038 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eyevinn/hls-vodtolive", - "version": "1.12.0", + "version": "1.13.0", "description": "NPM library to generate HLS Live from HLS VOD", "main": "index.js", "scripts": {