This repository was archived by the owner on Oct 25, 2024. It is now read-only.
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
How to add iceServer config? #548
Open
Description
Hello
It missed in sample conference - how to add iceServer config to Owt.Conference.ConferenceClient?
I try this but it is not working:
const rtcConfiguration = {
iceServers: [{
urls: '"stun:stun.l.google.com:19302"',
}, {
credential: 'password',
username: 'username',
}],
};
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);
Metadata
Metadata
Assignees
Labels
No labels