revoltchat / vortex Goto Github PK
View Code? Open in Web Editor NEW(in development) Pluggable WebRTC Voice Server
License: GNU Affero General Public License v3.0
(in development) Pluggable WebRTC Voice Server
License: GNU Affero General Public License v3.0
Hello.
When I run the build with "cargo build", most of the dependencies compile fine, except 'mediasoup-sys'.
This error message appears:
error: failed to build archive: 'libmediasoup-worker.a.p/src_lib.cpp.o': No such file or directory
error: could not compile `mediasoup-sys` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
how to solve this problem please?
hi , i'm trying to build your code, but i'm getting an error, please help me solve the problem. i do everything on a virtual machine on debian
error:
cargo build
Compiling mediasoup-sys v0.3.1
Compiling mediasoup v0.9.2
error: failed to build archive: 'libmediasoup-worker.a.p/src_lib.cpp.o': No such file or directory
error: could not compile mediasoup-sys
due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
It is very unusual for my anti-virus to block any IP addresses.
Steps to duplicate
The result is that the anti-virus blocks the IP address. I bring this up since others with this anti-virus will likely have the same issue, and likewise it is possible that other firewall software may also be blacklisting the IP.
Workaround for now is to whitelist that IP.
Exactly what it says on the tin. I can’t remove my current blank pfp or change the banner on mobile. I don’t have a computer as of now, so everything I’m doing is on mobile iOS.
This is the issue for a PR I made (#19). There are more details there.
It needs documentation.
error.txt
Please see attached the error I keep getting.
I've tried to do as the error suggests, installing pip, meson, and setuptools directly into the mediasoup folders, but then when using "Cargo Build", the compiling hangs at mediasoup-sys(build).
Any help would be great!
Hi, I'm having problems while configuring vortex. The Vortex program seems to work out but it's like it doesn't interface with Revolt: when I click on the button to connect with the voice chat it doesn't have any effect, but when I digit the Vortex URL it shows the following writing :
{"vortex":"0.3.0-alpha.1","features":{"rtp":true},"ws":"wss://vortex.revolt.chat"}
I have already followed every other guide in this site, so I'd like to ask for a more general guide in order to configure it. Thanks for the help.
Hello there,
at first: thanks for your great work with revolt. Its great!
I have the issue that vortex running as docker container is expecting the environment variable RTC_IPS with must contain an IP Address. 0.0.0.0 is not accepted as the only content since this is the address the voice clients are connecting to (seems so). So I'm using RTC_IPS = 0.0.0.0,1.2.3.4 (my public IP Address). This is working so far. But since I don't have an static public IP, I have to change it every couple of Days. When entering a hostname like a dedyn domain name it doesn't work.
Is it possible to make RTC_IPS accepting FQDNs instead of IP Addresses?
Give users the ability to deafen themselves, consider stopping any incoming audio streams to save on bandwidth.
Notify users when a call is created, and allow users to re-notify a user.
I have worked through several issues trying to build the vortex server, had to add the installation of python3-pip to the dockerfile, update the version of rust being used, and modify a few RUN lines. Currently running into an issue with ninja building the libuv subproject in what seems to be mediasoup. I'm not finding much information on how to get around this after googling for a few days, hoping to get some insight here.
Dockerfile
`
FROM rust:latest AS build
USER 0:0
WORKDIR /home/rust
RUN apt-get update && apt-get install python3-pip -y
RUN USER=root cargo new --bin vortex
WORKDIR /home/rust/vortex
COPY Cargo.toml Cargo.lock ./
RUN cargo build --release
RUN rm src/.rs target/release/deps/vortex
COPY src ./src
RUN cargo install --locked --path .
FROM debian:bullseye
COPY --from=build /usr/local/cargo/bin/vortex ./vortex
EXPOSE 8080
ENV HTTP_HOST 0.0.0.0:8080
ENV WS_URL wss://vortex.mydomain.com
#ENV MANAGE_TOKEN
ENV RTC_MIN_PORT 10000
ENV RTC_MAX_PORT 11000
ENV DISABLE_RTP 0
CMD ["./vortex"]
`
Full output of: docker build .
dockerbuild.txt
Main error:
`[730/1021] Compiling C object subprojects/libuv-v1.43.0/libuv.a.p/src_unix_stream.c.o
FAILED: subprojects/libuv-v1.43.0/libuv.a.p/src_unix_stream.c.o
cc -Isubprojects/libuv-v1.43.0/libuv.a.p -Isubprojects/libuv-v1.43.0 -I../../../../../../../../../../../usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/subprojects/libuv-v1.43.0 -I../../../../../../../../../../../usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/subprojects/libuv-v1.43.0/include -I../../../../../../../../../../../usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/subprojects/libuv-v1.43.0/src -fdiagnostics-color=always -DNDEBUG -std=c89 -O3 -fPIC -pthread -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_POSIX_C_SOURCE=200112 -MD -MQ subprojects/libuv-v1.43.0/libuv.a.p/src_unix_stream.c.o -MF subprojects/libuv-v1.43.0/libuv.a.p/src_unix_stream.c.o.d -o subprojects/libuv-v1.43.0/libuv.a.p/src_unix_stream.c.o -c ../../../../../../../../../../../usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/subprojects/libuv-v1.43.0/src/unix/stream.c
../../../../../../../../../../../usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/subprojects/libuv-v1.43.0/src/unix/stream.c: In function ‘uv__write’:
../../../../../../../../../../../usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/subprojects/libuv-v1.43.0/src/unix/stream.c:929:3: error: C++ style comments are not allowed in ISO C90
929 | // XXX(jwn): this must call uv__stream_flush_write_queue(stream, n) here, since we won't generate any more events
| ^
../../../../../../../../../../../usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/subprojects/libuv-v1.43.0/src/unix/stream.c:929:3: note: (this will be reported only once per input file)
ninja: build stopped: subcommand failed.
--- stderr
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Directory does not contain a valid build tree:
/home/rust/vortex/target/release/build/mediasoup-sys-f448789c1b12f09a/out/out/Release/build
make: *** [Makefile:226: libmediasoup-worker] Error 1
thread 'main' panicked at 'Failed to build libmediasoup-worker', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.3/build.rs:96:9
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
`
Currently it seems like there is no support for screen sharing in a voice chat. This is the one thing that is keeping me from migrating away from Discord.
Are there any plans to incorporate this in a future release?
Hello,
For several days (since I installed Revolt on my server) I can't install vortex because the following error occurs:
I send a txt file below with the error
My server is under Debian and I can't find the resolution to this problem
Thanks to everyone who will help me
i hear audio and it does work but it auto disconnect after like 1 minute
Have options like discord to have multiple servers in different locations and be able to switch servers for nearer locations.
Voice Server to be installed in 1 package for easy management
Compiling mediasoup-sys v0.3.1
error[E0658]: use of unstable library feature 'str_strip': newly added
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.1/build.rs:34:18
|
34 | .strip_suffix("libstdc++.a")
| ^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#67302
error: aborting due to previous error
For more information about this error, try rustc --explain E0658
.
error: could not compile mediasoup-sys
.
To learn more, run the command again with --verbose.
How should I get the “ voso_manage_token ”? Is it necessary to be customized?
related to #4, support for user video (and like that issue, will likely take a while)
One of the features which makes discord particularly useful is live-streaming, specifically sharing screens for low-latency high resolution streams.
Hello everyone, I decided to create a new issue because I didn't get any answer on the old one (and I think the problem is not related to the old one so I closed it and I made a copy and paste here)
I thank you in advance for all the people who will help me. Here is the message I had sent:
Hello everyone. First of all, sorry for the delay I took. I just wanted to say that my problem concerning Vortex is still not solved. Indeed, when I try to start Vortex, I have the following error that appears:
thread 'main' panicked at 'Missing WS_URL environment variable.: NotPresent', src/util/variables.rs:16:43
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
I searched for several hours to solve this problem but could not find a solution. If you need any particular information (like API link, .env file information or anything else, please let me know)
I thank you in advance for your answer
I accidentally joined a server and can’t find a way to leave it. I asked someone in the Revolt server and they said they haven’t implemented the feature yet on iOS. I’m just going to make this thread here so if anyone has similar problems.
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.