mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +02:00
Update
This commit is contained in:
parent
c940cd61ac
commit
59a20745e7
2101 changed files with 1312074 additions and 30292 deletions
19
node_modules/mux.js/dist/mux-flv.js
generated
vendored
19
node_modules/mux.js/dist/mux-flv.js
generated
vendored
|
@ -1,4 +1,4 @@
|
|||
/*! @name mux.js @version 7.0.1 @license Apache-2.0 */
|
||||
/*! @name mux.js @version 7.0.2 @license Apache-2.0 */
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
||||
typeof define === 'function' && define.amd ? define(factory) :
|
||||
|
@ -2700,8 +2700,23 @@
|
|||
this.type_ = type || TYPE_SHARED;
|
||||
|
||||
this.push = function (data) {
|
||||
// Any "shared" rollover streams will accept _all_ data. Otherwise,
|
||||
/**
|
||||
* Rollover stream expects data from elementary stream.
|
||||
* Elementary stream can push forward 2 types of data
|
||||
* - Parsed Video/Audio/Timed-metadata PES (packetized elementary stream) packets
|
||||
* - Tracks metadata from PMT (Program Map Table)
|
||||
* Rollover stream expects pts/dts info to be available, since it stores lastDTS
|
||||
* We should ignore non-PES packets since they may override lastDTS to undefined.
|
||||
* lastDTS is important to signal the next segments
|
||||
* about rollover from the previous segments.
|
||||
*/
|
||||
if (data.type === 'metadata') {
|
||||
this.trigger('data', data);
|
||||
return;
|
||||
} // Any "shared" rollover streams will accept _all_ data. Otherwise,
|
||||
// streams will only accept data that matches their type.
|
||||
|
||||
|
||||
if (this.type_ !== TYPE_SHARED && data.type !== this.type_) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue