Skip to content

Commit

Permalink
3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
birme committed Jun 21, 2023
1 parent b89bbe2 commit 60faf5a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
14 changes: 13 additions & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* [.addMetadata(key, value)](#HLSVod+addMetadata)
* [.getVodUri()](#HLSVod+getVodUri)
* [.getLiveMediaSequenceSegments(seqIdx)](#HLSVod+getLiveMediaSequenceSegments)
* [.getLiveAudioSequenceSegments(seqIdx)](#HLSVod+getLiveAudioSequenceSegments)
* [.getMediaSegments()](#HLSVod+getMediaSegments)
* [.getLiveMediaSequenceAudioSegments(audioGroupId, audioLanguage, seqIdx)](#HLSVod+getLiveMediaSequenceAudioSegments)
* [.getLiveMediaSequenceSubtitleSegments(subtitleGroupId, subtitleLanguage, seqIdx)](#HLSVod+getLiveMediaSequenceSubtitleSegments)
Expand Down Expand Up @@ -121,6 +122,17 @@ Get all segments (duration, uri) for a specific media sequence
| --- | --- | --- |
| seqIdx | <code>number</code> | media sequence index (first is 0) |

<a name="HLSVod+getLiveAudioSequenceSegments"></a>

### hlsVod.getLiveAudioSequenceSegments(seqIdx)
Get all audio segments (duration, uri) for a specific media sequence

**Kind**: instance method of [<code>HLSVod</code>](#HLSVod)

| Param | Type | Description |
| --- | --- | --- |
| seqIdx | <code>number</code> | media sequence index (first is 0) |

<a name="HLSVod+getMediaSegments"></a>

### hlsVod.getMediaSegments()
Expand All @@ -130,7 +142,7 @@ Get all segments (duration, uri)
<a name="HLSVod+getLiveMediaSequenceAudioSegments"></a>

### hlsVod.getLiveMediaSequenceAudioSegments(audioGroupId, audioLanguage, seqIdx)
Get all audio segments (duration, uri) for a specific media sequence
Get all audio segments (duration, uri) for a specific media sequence based on audio group and lang

**Kind**: instance method of [<code>HLSVod</code>](#HLSVod)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eyevinn/hls-vodtolive",
"version": "3.0.1",
"version": "3.1.0",
"description": "NPM library to generate HLS Live from HLS VOD",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 60faf5a

Please sign in to comment.