matallui / artico

Artico - WebRTC made simple

Home Page:https://artico.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Codefa opened this issue · comments

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 ?

@Codefa It might not be exposed. That's a good point. I will add that feature as soon as I find some free time to work on this.

@Codefa Just added a way to provide rtcConfig via Artico options. Check out v0.2.9 and let me know if that works for you!