1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

add inputmask

This commit is contained in:
DanieL 2022-09-21 13:51:50 -03:00
parent ab84f1e730
commit e07838c6c7
203 changed files with 29712 additions and 5216 deletions

View file

@ -1,4 +1,4 @@
/*! @name @videojs/http-streaming @version 2.14.2 @license Apache-2.0 */
/*! @name @videojs/http-streaming @version 2.14.3 @license Apache-2.0 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('video.js'), require('@xmldom/xmldom')) :
typeof define === 'function' && define.amd ? define(['exports', 'video.js', '@xmldom/xmldom'], factory) :
@ -9875,7 +9875,7 @@
return fn.toString().replace(/^function.+?{/, '').slice(0, -1);
};
/* rollup-plugin-worker-factory start for worker!/Users/bclifford/Code/vhs-release-test/src/transmuxer-worker.js */
/* rollup-plugin-worker-factory start for worker!/Users/abarstow/videojs/http-streaming/src/transmuxer-worker.js */
var workerCode$1 = transform(getWorkerString(function () {
/**
* mux.js
@ -18678,7 +18678,7 @@
};
}));
var TransmuxWorker = factory(workerCode$1);
/* rollup-plugin-worker-factory end for worker!/Users/bclifford/Code/vhs-release-test/src/transmuxer-worker.js */
/* rollup-plugin-worker-factory end for worker!/Users/abarstow/videojs/http-streaming/src/transmuxer-worker.js */
var handleData_ = function handleData_(event, transmuxedData, callback) {
var _event$data$segment = event.data.segment,
@ -25553,7 +25553,12 @@
var segmentInfo = this.pendingSegment_; // although the VTT segment loader bandwidth isn't really used, it's good to
// maintain functionality between segment loaders
this.saveBandwidthRelatedStats_(segmentInfo.duration, simpleSegment.stats);
this.saveBandwidthRelatedStats_(segmentInfo.duration, simpleSegment.stats); // if this request included a segment key, save that data in the cache
if (simpleSegment.key) {
this.segmentKey(simpleSegment.key, true);
}
this.state = 'APPENDING'; // used for tests
this.trigger('appending');
@ -26492,7 +26497,7 @@
return TimelineChangeController;
}(videojs__default["default"].EventTarget);
/* rollup-plugin-worker-factory start for worker!/Users/bclifford/Code/vhs-release-test/src/decrypter-worker.js */
/* rollup-plugin-worker-factory start for worker!/Users/abarstow/videojs/http-streaming/src/decrypter-worker.js */
var workerCode = transform(getWorkerString(function () {
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@ -27209,7 +27214,7 @@
};
}));
var Decrypter = factory(workerCode);
/* rollup-plugin-worker-factory end for worker!/Users/bclifford/Code/vhs-release-test/src/decrypter-worker.js */
/* rollup-plugin-worker-factory end for worker!/Users/abarstow/videojs/http-streaming/src/decrypter-worker.js */
/**
* Convert the properties of an HLS track into an audioTrackKind.
@ -31038,7 +31043,7 @@
initPlugin(this, options);
};
var version$4 = "2.14.2";
var version$4 = "2.14.3";
var version$3 = "6.0.1";
@ -32061,12 +32066,34 @@
audioMedia: audioPlaylistLoader && audioPlaylistLoader.media()
});
this.player_.tech_.on('keystatuschange', function (e) {
if (e.status === 'output-restricted') {
_this5.masterPlaylistController_.blacklistCurrentPlaylist({
playlist: _this5.masterPlaylistController_.media(),
message: "DRM keystatus changed to " + e.status + ". Playlist will fail to play. Check for HDCP content.",
blacklistDuration: Infinity
});
if (e.status !== 'output-restricted') {
return;
}
var masterPlaylist = _this5.masterPlaylistController_.master();
if (!masterPlaylist || !masterPlaylist.playlists) {
return;
}
var excludedHDPlaylists = []; // Assume all HD streams are unplayable and exclude them from ABR selection
masterPlaylist.playlists.forEach(function (playlist) {
if (playlist && playlist.attributes && playlist.attributes.RESOLUTION && playlist.attributes.RESOLUTION.height >= 720) {
if (!playlist.excludeUntil || playlist.excludeUntil < Infinity) {
playlist.excludeUntil = Infinity;
excludedHDPlaylists.push(playlist);
}
}
});
if (excludedHDPlaylists.length) {
var _videojs$log;
(_videojs$log = videojs__default["default"].log).warn.apply(_videojs$log, ['DRM keystatus changed to "output-restricted." Removing the following HD playlists ' + 'that will most likely fail to play and clearing the buffer. ' + 'This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(excludedHDPlaylists)); // Clear the buffer before switching playlists, since it may already contain unplayable segments
_this5.masterPlaylistController_.fastQualityChange_();
}
});
this.handleWaitingForKey_ = this.handleWaitingForKey_.bind(this);