Giter Club home page Giter Club logo

artico's Issues

How to setup custom TURN & STUN server in Room example ?

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 ?

Integrating Artico Server with other Web frameworks

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}`);
});

Unable to answer call in Edge

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.

Unable to install @rtco/client

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.

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.