Skip to content

Commit 27a970c

Browse files
feat: add frameRate property to the representation class. (#1289)
1 parent 7e89b55 commit 27a970c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"@videojs/vhs-utils": "3.0.5",
6060
"aes-decrypter": "3.1.3",
6161
"global": "^4.4.0",
62-
"m3u8-parser": "4.7.1",
63-
"mpd-parser": "0.21.1",
62+
"m3u8-parser": "4.8.0",
63+
"mpd-parser": "0.22.0",
6464
"mux.js": "6.0.1",
6565
"video.js": "^6 || ^7"
6666
},

src/rendition-mixin.js

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class Representation {
6565
this.height = resolution && resolution.height;
6666

6767
this.bandwidth = playlist.attributes.BANDWIDTH;
68+
this.frameRate = playlist.attributes['FRAME-RATE'];
6869
}
6970

7071
this.codecs = codecsForPlaylist(mpc.master(), playlist);

0 commit comments

Comments
 (0)