Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

setConfig function in the RtcommService does not adjust the broadcast settings #15

Closed

Description

@jfmartinez

When calling RtcommService.setConfig() it does not correctly modify the endpoint configuration.

    var getMediaConfig = function() {

      var mediaConfig = {
          ringbacktone: RtcommConfigService.getRingBackTone(),
          ringtone: RtcommConfigService.getRingTone(),
          broadcast : {
            audio : RtcommConfigService.getBroadcastAudio(),
            video : RtcommConfigService.getBroadcastVideo()
          },
          webrtc : RtcommConfigService.getWebRTCEnabled(),
          chat : RtcommConfigService.getChatEnabled(),
      };

      return (mediaConfig);
    };

*Should Be Defined Similar To: *

 {
      appContext : "testApp",
      ringtone: "resources/ringtone.wav",
      ringbacktone: "resources/ringbacktone.wav",
      chat: true,
      chatConfig: {},
      webrtc:true,
      webrtcConfig:{
        broadcast: { audio: true, video: true},
        iceServers: ["stun:stun1.l.google.com:19302", "stun:stun2.l.google.com:19302"]
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions