Skip to content
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

@Myshny

Description

@Myshny

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions