Giter VIP home page Giter VIP logo

rtmp-server-node's People

Contributors

bcostdolby avatar bryan-lester-dolby avatar harryz2000 avatar mildsunrise avatar murillo128 avatar notedit avatar rreynaud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtmp-server-node's Issues

build error on macos

../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();

Windows 10 Build Error "Cannot open include file: 'rtp.h': No such file or directory"

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

Dependency list

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

How to Simulcast to Social Media?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.