Created attachment 182788 [details] port shar file
Created attachment 182817 [details] port shar file Add USE_LDCONFIGRE and update pkg-plist. This still needs an rc.d script as well.
Created attachment 182819 [details] port shar file I've added an rc.d script. I think this is in good working shape now ;-)
Created attachment 182828 [details] port shar file Add audio/opus so audio bridge works
Created attachment 182829 [details] janus shar file Add -b to command args so daemon backgrounds
Thank you for your contribution. These changes are needed: * Remove 'Created by' * Most items in BUILD_DEPENDS/RUN_DEPENDS should be combined into LIB_DEPENDS * cmake should't be in RUN_DEPENDS, instead use USES=cmake:outsource * Rename PORTVERSION into DISTVERSION * No need for GH_TAGNAME * DISTVERSIONPREFIX=v * COPYING should be referenced by LICENSE_FILE * CPPFLAGS/LDFLAGS should be replaced with USES=localbase Yuri
Yuri's feedback wasn't addressed for 7 months, so closing with Feedback Timeout.
I'm looking into this, I am a little blocked by libwebsockets which does not seem to like ipv4 if it is compiled with IPV6 enabled (which is the default) I tried updating libwebsockets with the same result..see upstream issue here: https://github.com/warmcat/libwebsockets/issues/1947
Created attachment 215426 [details] janus.shar I have a working version of the port, attaching the shar.
(In reply to Yuri Victorovich from comment #8) Yes very much like my WIP. Thanks. Does its websockets listen on IPv4? (without recompiling libwebsockets without IPV6)
(In reply to Jesper Schmitz Mouridsen from comment #9) Jesper, I'm not sure. You go ahead and test it since you've already started. Yuri
(In reply to Yuri Victorovich from comment #10) Will do
I'd forgotten about this. I'd be happy to pick it up again. I can take a look at it and help out ;-)
Hi does any of you got the streaming demos working? /usr/local/share/janus/streams/test_gstreamer_1.sh and the "Opus/VP8 live stream coming from external source (live)" I'm getting [ice.c:janus_ice_outgoing_traffic_handle:4376] [2354355402257304] ... SRTP protect error... srtp_err_status_bad_param (len=24-->24, ts=313920, seq=328)... and no video output, same ways of doing things works on Linux..
https://github.com/meetecho/janus-gateway/issues/2232 I need some sleep, but streaming works for me now, I'will update the shar as soon as possible.
Created attachment 215628 [details] janus port with patch of rtp.h Streaming works for me in this one. Hope a CC can do some testing. Remember libmicrohttpd update
Created attachment 216432 [details] update to v0.10.3 update to v0.10.3
Created attachment 220946 [details] Updates to 0.10.9 If John Hixson still wants to be the maintainer, I'll commit this soon as it is.
Hi: any update here?
Created attachment 226132 [details] janus-0.11.3
Hi: I make some updates for 0.11.3, include: * nanomsg integration * rabbitmq integration * javascript plugin * lua plugin Could anyone can help me to review, thanks.
(In reply to Vanilla I. Shu from comment #20) Thanks for this work! I am not sure John Hixson wants to be maintainer. Perhaps you are interested your self to become the maintainer? Have you tested all build options and all ssl versions? Perhaps you could note upstream of the missing dlerror() call i.e make a github issue? Thanks /jsm
(In reply to Jesper Schmitz Mouridsen from comment #21) Hi: Jesper Is the dlerror() patch really necessary? it's called twice, and did not catched on the first time.
(In reply to Vanilla I. Shu from comment #22) The dlerror patch is necessary. Without it you get: [ERR] [janus.c:main:5399] Couldn't load symbol 'create': Undefined symbol "_nss_cache_cycle_prevention_function" https://stackoverflow.com/questions/3559147/dlerror-undefined-symbol-nss-cache-cycle-prevention-function-on-freebsd-7-2 TL;DR dlerror is the latest error not necessarily the most recent. Thanks.
(In reply to Jesper Schmitz Mouridsen from comment #23) Wired, Janus works fine on my -current box without the dlerror patch. BTW, I will include this patch, and also add post processing support on next patch, maybe you can add it to ports later?
Created attachment 226877 [details] janus-0.11.3, add post-processing support
(In reply to Vanilla I. Shu from comment #24) I will sure add it, do you want to be the maintainer?
(In reply to Jesper Schmitz Mouridsen from comment #26) Well, it's ok to be the maintainer, but I did not use janus on any my project. -- I just want to try each WebRTC solutions on FreeBSD.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=31811bb4ff34dda24e1c367eba5cca46fa577b00 commit 31811bb4ff34dda24e1c367eba5cca46fa577b00 Author: Vanilla I. Shu <vanilla@FreeBSD.org> AuthorDate: 2021-08-08 09:54:05 +0000 Commit: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> CommitDate: 2021-08-08 10:04:03 +0000 www/janus: New port Janus is an open source, general purpose, WebRTC gateway designed and developed by Meetecho PR: 219444 www/Makefile | 1 + www/janus/Makefile (new) | 64 +++++++++++ www/janus/distinfo (new) | 3 + www/janus/files/janus.in (new) | 28 +++++ www/janus/files/patch-configure.ac (new) | 11 ++ www/janus/files/patch-janus.c (new) | 10 ++ www/janus/files/pkg-message.in (new) | 8 ++ www/janus/pkg-descr (new) | 4 + www/janus/pkg-plist (new) | 186 +++++++++++++++++++++++++++++++ 9 files changed, 315 insertions(+)