matallui / artico Goto Github PK
View Code? Open in Web Editor NEWArtico - WebRTC made simple
Home Page: https://artico.dev
License: MIT License
Artico - WebRTC made simple
Home Page: https://artico.dev
License: MIT License
In Room example i can see
import { Artico } from "@rtco/client";
const rtco = new Artico();
I couldn't find the option to add custom TURN & STUN server in this Artico
class, those are only available in Peer
class which is in @rtco/peer
How can i add the RTCConfiguration
in the Room example ?
Using Artico/server as the main server seems wasteful. Since it's role is to be a signal server using socket.io. Socket.io integrates next to other web frameworks. Artico should be able to integrate into other Nodejs web frameworks, and be called when needed by the application.
How does one go about integrating Artico/server into other web frameworks without it having to have a port passed into it, and just use the main web server connection of the web framework?
import Fastify from "fastify";
import { ArticoServer } from "@rtco/server";
const port = 3200;
const fastify = Fastify({
logger: true,
});
// Index
fastify.get("/", function (request, reply) {
reply.send({ hello: "world" });
});
// Start Artico server
fastify.get("/start-signal-server", function (request, reply) {
console.log("Starting Artico server...");
const server = new ArticoServer({ debug: 4 });
// ...
reply.send({});
});
// Run the main server
fastify.listen({ port: port }, function (err, address) {
if (err) {
fastify.log.error(err);
process.exit(1);
}
console.log(`Server is now listening on ${address}`);
});
This is a simple implementation of the @rtco.client
library.
GitHub | VercelHosted
So, when I attempt to call from Edge and answer it from any other browser (tried: OperaGX, Chrome Mobile), the answer call function is working correctly and the call is opening, but when I call from any browser (tried: Edge, OperaGX, Chrome Mobile) to Edge, the answer call function won't work, i.e. the call.on("open")
is not being triggered.
I stumbled upon this project searching for peerjs which is not maintained anymore. But I cant seem to install this..
error Couldn't find package "@rtco/logger@*" required by "@rtco/client" on the "npm" registry.
I tried both yarn
and npm
, both gave me the same error.
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.