This middleware can connect to other namespaces.
moleculer.config.js
const InterNamespaceMiddleware = require("./inter-namespace.js");Build VAAPI with support for VP8/9 decode and encode hardware acceleration on a Skylake validation testbed:
Build platform: Ubuntu 16.04LTS.
First things first:
Install baseline dependencies first
sudo apt-get -y install autoconf automake build-essential libass-dev libtool pkg-config texinfo zlib1g-dev libva-dev cmake mercurial libdrm-dev libvorbis-dev libogg-dev git libx11-dev libperl-dev libpciaccess-dev libpciaccess0 xorg-dev intel-gpu-tools
Build FFmpeg with Intel's QSV enablement on an Intel-based validation test-bed:
Build platform: Ubuntu 18.04LTS
Ensure the platform is up to date:
sudo apt update && sudo apt -y upgrade && sudo apt -y dist-upgrade
Install baseline dependencies first (inclusive of OpenCL headers+)
| #!/bin/bash | |
| sudo apt-get update -qq && sudo apt-get -y install \ | |
| autoconf \ | |
| automake \ | |
| build-essential \ | |
| cmake \ | |
| git-core \ | |
| libass-dev \ | |
| libfreetype6-dev \ |
| // Taken from https://stackoverflow.com/a/27363569 | |
| // Allows for the object to be interrogated | |
| ((() => { | |
| const origOpen = XMLHttpRequest.prototype.open; | |
| XMLHttpRequest.prototype.open = function() { | |
| console.log('request started!'); | |
| this.addEventListener('load', function() { | |
| console.log('request completed!'); | |
| console.log(this.readyState); //will always be 4 (ajax is completed successfully) |
| server { | |
| # Listen on port 81 | |
| listen 81; | |
| # Server name being used (exact name, wildcards or regular expression) | |
| # server_name phpmyadmin.my; | |
| root /usr/share/phpmyadmin; |
| # ReachView code is placed under the GPL license. | |
| # Written by Egor Fedorov ([email protected]) | |
| # Copyright (c) 2015, Emlid Limited | |
| # All rights reserved. | |
| # If you are interested in using ReachView code as a part of a | |
| # closed source project, please contact Emlid Limited ([email protected]). | |
| # This file is part of ReachView. |
| #!/bin/bash | |
| # | |
| # Tech and Me 2015 - https://www.en0ch.se | |
| # | |
| # This requires PHP 5.6 | |
| # Must be root | |
| [[ `id -u` -eq 0 ]] || { echo "Must be root to run script, in Ubuntu type: sudo -i"; exit 1; } | |
| # Print current version |