forked from jchomaz/Vulture
Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
11
VApp/node_modules/mux.js/test/metadata-stream-test-worker.js
generated
vendored
Normal file
11
VApp/node_modules/mux.js/test/metadata-stream-test-worker.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
var mp2t, metadataStream;
|
||||
|
||||
mp2t = require('../lib/m2ts');
|
||||
metadataStream = new mp2t.MetadataStream();
|
||||
|
||||
self.addEventListener('message', function(e) {
|
||||
metadataStream.on('data', function(data) {
|
||||
self.postMessage(data);
|
||||
});
|
||||
metadataStream.push(e.data);
|
||||
});
|
||||
Reference in New Issue
Block a user