shakurocom / janus-plugin-rtmp Goto Github PK
View Code? Open in Web Editor NEWJanus plugin for RTMP broadcasting
License: GNU General Public License v3.0
Janus plugin for RTMP broadcasting
License: GNU General Public License v3.0
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?
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
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( )
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.
the rtmp sample config file is empty.
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.