Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bigscreen-player

Package Overview
Dependencies
Maintainers
7
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigscreen-player - npm Package Compare versions

Comparing version 4.3.1 to 4.4.0

2

package.json
{
"name": "bigscreen-player",
"version": "4.3.1",
"version": "4.4.0",
"description": "Simplified media playback for bigscreen devices.",

@@ -5,0 +5,0 @@ "main": "script/bigscreenplayer.js",

@@ -8,3 +8,3 @@ define('bigscreenplayer/manifest/manifestmodifier',

function filter (manifest, representationOptions, oldDashCodecRequired) {
function filter (manifest, representationOptions) {
var constantFps = representationOptions.constantFps;

@@ -31,9 +31,2 @@ var maxFps = representationOptions.maxFps;

if (oldDashCodecRequired) {
DebugTool.keyValue({ key: 'Video Container', value: 'avc1' });
manifest = rewriteDashCodec(manifest);
} else {
DebugTool.keyValue({ key: 'Video Container', value: 'avc3' });
}
return manifest;

@@ -92,25 +85,2 @@ }

function rewriteDashCodec (manifest) {
var periods = manifest.Period_asArray || [manifest.Period];
if (periods) {
for (var i = 0; i < periods.length; i++) {
var sets = periods[i].AdaptationSet_asArray || periods[i].AdaptationSet;
if (sets) {
for (var j = 0; j < sets.length; j++) {
var representations = sets[j].Representation_asArray || [sets[j].Representation];
if (representations) {
for (var k = 0; k < representations.length; k++) {
var rep = representations[k];
if (rep.mimeType === 'video/mp4') {
rep.codecs = rep.codecs.replace('avc3', 'avc1');
}
}
}
}
}
}
}
return manifest;
}
return {

@@ -117,0 +87,0 @@ filter: filter,

@@ -163,5 +163,4 @@ define('bigscreenplayer/playbackstrategy/msestrategy',

var representationOptions = window.bigscreenPlayer.representationOptions || {};
var oldDashCodecRequired = window.bigscreenPlayer.overrides && window.bigscreenPlayer.overrides.oldDashCodecRequired;
ManifestModifier.filter(manifest, representationOptions, oldDashCodecRequired);
ManifestModifier.filter(manifest, representationOptions);
ManifestModifier.generateBaseUrls(manifest, mediaSources.availableSources());

@@ -168,0 +167,0 @@ }

define('bigscreenplayer/version',
function () {
return '4.3.1';
return '4.4.0';
}
);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc