medooze / rtmp-server-node Goto Github PK
View Code? Open in Web Editor NEWRTMP server for node
License: MIT License
RTMP server for node
License: MIT License
I was going to create a pull request from https://github.com/arzeth/rtmp-server-node/commits/master
but you seem to require a CLA, but the link for signing it is down, see clahub/clahub#174
../media-server/include/config.h:44:20: note: expanded from macro 'FD_INVALID'
#define FD_INVALID (int)-1
^
../media-server/src/rtp/RTPPacket.cpp:240:55: error: call to unavailable member function 'value': introduced in macOS
10.14
auto vp8NewPayloadDescriptor = vp8PayloadDescriptor.value();
Hi! I'm trying to install the module and I keep running into an issue when it's trying to build. I have installed the windows-production-tools
too. Any ideas?
Error Message: Cannot open include file: 'rtp.h': No such file or directory
Command Logs:
PS C:\Users\John\Desktop\Programming\WebRTC-Test> npm install --save medooze-rtmp-server
[email protected] install C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server
test -f build/Release/medooze-rtmp-server.node || (node-gyp configure && node-gyp rebuild --jobs=max)
'test' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server>if not defined npm_config_node_gyp (node "C:\Users\John\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-
bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure ) else (node "C:\Users\John\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" configure )
C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server>if not defined npm_config_node_gyp (node "C:\Users\John\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-
bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --jobs=max ) else (node "C:\Users\John\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --jobs=max )
rtmp-server_wrap.cxx
win_delay_load_hook.cc
..\src\rtmp-server_wrap.cxx(1034): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server\build\medooze-rtmp-server.vcxp
roj]
c:\users\john\appdata\local\node-gyp\cache\10.16.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\rtmp-server_wrap.cxx(1128): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server\build\medooze-rtmp-server.vcxp
roj]
c:\users\john\appdata\local\node-gyp\cache\10.16.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\rtmp-server_wrap.cxx(1223): warning C4311: 'type cast': pointer truncation from 'void *' to 'long' [C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server\build\medooze-rtmp-se
rver.vcxproj]
..\src\rtmp-server_wrap.cxx(1223): warning C4302: 'type cast': truncation from 'void *' to 'long' [C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server\build\medooze-rtmp-server.vcx
proj]
..\src\rtmp-server_wrap.cxx(1255): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server\build\medooze-rtmp-server.vcxp
roj]
c:\users\john\appdata\local\node-gyp\cache\10.16.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\rtmp-server_wrap.cxx(1275): warning C4996: 'v8::Value::ToObject': was declared deprecated [C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server\build\medooze-rtmp-server.vcxp
roj]
c:\users\john\appdata\local\node-gyp\cache\10.16.0\include\node\v8.h(10046): note: see declaration of 'v8::Value::ToObject'
..\src\rtmp-server_wrap.cxx(1589): fatal error C1083: Cannot open include file: 'rtp.h': No such file or directory [C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server\build\medooz
e-rtmp-server.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\John\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\John\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--jobs=max"
gyp ERR! cwd C:\Users\John\Desktop\Programming\WebRTC-Test\node_modules\medooze-rtmp-server
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `test -f build/Release/medooze-rtmp-server.node || (node-gyp configure && node-gyp rebuild --jobs=max)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\John\AppData\Roaming\npm-cache\_logs\2020-05-08T02_21_09_531Z-debug.log
Npm Debug Log: https://pastebin.com/q5Qd6N01
Not able to add using the instructions in the readme, getting this error when running npm install:
Not Found - GET https://registry.npmjs.org/rtmp-media-server - Not found
Looking for an rtmp stream server for deno
Full dependency list on an Ubuntu/Debian'ish machine. Same as medooze-audio-codecs + x264 and libvpx
sudo add-apt-repository -y ppa:jonathonf/ffmpeg-4 # for very recent libav* and friends (x264)
sudo apt-get install -y libavcodec-dev libavresample-dev libgsm1-dev libopus-dev libspeex-dev libx264-dev
For publishing to a remote flash media server
How would I go about pushing an incoming RTMP stream out to YouTube Live for instance? With NGINX I would use a push directive in the config, for instance. Is there something relative to that here? The idea is to have many incoming RTMP streams that can be broadcasted to each broadcasters respective social media accounts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.