const rtcConfiguration = {
iceServers: [
{
urls: ["stun:stun.l.google.com:19302"],
},
],
};
const signaling = new Owt.Conference.SioSignaling();
var configuration = (Owt.Conference.ConferenceClientConfiguration =
rtcConfiguration);
conference = new Owt.Conference.ConferenceClient(
{
audioEncodings: true,
videoEncodings: [
{
codec: {
name: "h264",
},
},
{
codec: {
name: "vp9",
},
},
{
codec: {
name: "vp8",
},
},
],
configuration,
},
signaling
);
But it not working. Even if I remove rtcConfiguration - I receive same error -
subscribe failed
Error: Ice procedure failed.
Unhandled Promise Rejection: Error: Ice procedure failed.
ICE connection state changed to failed
Same code on local network works fine and same on IOS/Android works fine with that STUN server. So I suppose that I configure wrong way.