GithubHelp home page GithubHelp logo

shakurocom / janus-plugin-rtmp Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 11.0 22 KB

Janus plugin for RTMP broadcasting

License: GNU General Public License v3.0

Makefile 3.75% Shell 0.76% M4 1.36% C 94.13%

janus-plugin-rtmp's Issues

Video Only?

Great plugin! Will this work with video only sessions? Any performance benefits of me striping out the audio code if not being used or making it a setting?

got trouble while forwarding port

Hello there, it's long time since your last activity on this repos. Hopefully you still online x(
Currently I have a trouble while forwarding using video_room plugin
Screenshot 2024-01-10 at 17 33 07
As the above, the both two port 11126 and 11127 are the result of rtmp plugin and the publisher_id is my streaming on video_room plugin
My problem is, my rtmp still not received any streaming yet. I don't know why
(one more thing, my janus.plugin.rtmp.cfg is empty, I don't know if this is problem since I don't found any example for that x( )

this is the log from server
Screenshot 2024-01-11 at 10 15 12

Header file missing error while building.

I have installed Janus at /opt/janus with --libdir=/usr/lib64.

Did the following and got the error.

$ apt install libgstreamer1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
$ sudo cp /home/ubuntu/janus-gateway/{.,plugins}/*.h /opt/janus
$ git clone https://github.com/shakurocom/janus-plugin-rtmp.git
$ cd janus-plugin-rtmp
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make
depbase=`echo src/libjanus_rtmp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"janus_plugin_rtmp\" -DPACKAGE_TARNAME=\"janus_plugin_rtmp\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"janus_plugin_rtmp\ 0.0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"janus_plugin_rtmp\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.     -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -MT src/libjanus_rtmp.lo -MD -MP -MF $depbase.Tpo -c -o src/libjanus_rtmp.lo src/libjanus_rtmp.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DPACKAGE_NAME=\"janus_plugin_rtmp\" -DPACKAGE_TARNAME=\"janus_plugin_rtmp\" -DPACKAGE_VERSION=\"0.0.1\" "-DPACKAGE_STRING=\"janus_plugin_rtmp 0.0.1\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"janus_plugin_rtmp\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -MT src/libjanus_rtmp.lo -MD -MP -MF src/.deps/libjanus_rtmp.Tpo -c src/libjanus_rtmp.c  -fPIC -DPIC -o src/.libs/libjanus_rtmp.o
src/libjanus_rtmp.c:21:10: fatal error: janus/plugin.h: No such file or directory
   21 | #include "janus/plugin.h"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:471: src/libjanus_rtmp.lo] Error 1

Also tried $ ./configure --prefix=/usr --libdir=/usr/lib64 but got the same error.

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.