artico icon indicating copy to clipboard operation
artico copied to clipboard

Unable to assign custom ID to peer while using @rtco/server

Open AnupamKris opened this issue 6 months ago • 1 comments

Not able to assign custom ID while using custom signalling server

Server code

import { ArticoServer } from "@rtco/server";

const server = new ArticoServer();
server.listen(5000);

Client Code

const rtco = new Artico({
  id: "a789sdfgt",
  signaling: new SocketSignaling({
    url: "http://localhost:5000",
  }),
});

It is still connecting to a random id.

AnupamKris avatar Aug 18 '24 11:08 AnupamKris