Skip to content

Commit

Permalink
Merge pull request #54 from Dash-Industry-Forum/feature/sttg
Browse files Browse the repository at this point in the history
Add sttg box for WebVTT cue settings
  • Loading branch information
dsilhavy authored Mar 28, 2023
2 parents d97ba73 + 3929275 commit 933f702
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Currently a limited set of ISOBMFF boxes is supported:
* vtte
* vlab
* payl
* sttg

### ISO/IEC 14496-15:2014 (Carriage of network abstraction layer (NAL) unit structured video in ISO base media file format)

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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codem-isoboxer",
"version": "0.3.8",
"version": "0.3.9",
"description": "A lightweight JavaScript MP4 (MPEG-4, ISOBMFF) file/box parser.",
"keywords": [
"mp4",
Expand Down Expand Up @@ -35,7 +35,7 @@
"jshint": "^2.9.4"
},
"scripts": {
"test": "npm run grunt && jasmine-node test/spec",
"test": "grunt && jasmine-node test/spec",
"jshint": "jshint src/*.js src/**/*.js",
"build": "grunt",
"watch": "grunt watch"
Expand Down
4 changes: 4 additions & 0 deletions src/processors/sttg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// ISO/IEC 14496-30:2014 - WebVTT Cue Settings Box.
ISOBox.prototype._boxProcessors['sttg'] = function() {
this._procField('settings', 'utf8');
};

0 comments on commit 933f702

Please sign in to comment.