vani-meeting-server 1.1.8 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -214,6 +214,9 @@ class SFUEachRoomHandler extends BaseSFUWebsocket_1.BaseSFUWebsocket {
214
214
  }
215
215
  }
216
216
  async startBroadcasting(payload) {
217
+ console.log("=====startBroadcasting=======");
218
+ console.log(payload);
219
+ console.log("=====startBroadcasting=======");
217
220
  const isAudioRequired = payload.message.isAudioRequired;
218
221
  const isVideoRequired = payload.message.isVideoRequired;
219
222
  const connectToIp = payload.message.connectToIp;
@@ -49,7 +49,7 @@ async function webrtcTransportConfiguration() {
49
49
  publicIpAddress = await publicIp.v4();
50
50
  }
51
51
  return {
52
- listenIps: [{ ip: '127.0.0.1', announcedIp: publicIpAddress }],
52
+ listenIps: [{ ip: '0.0.0.0', announcedIp: publicIpAddress }],
53
53
  enableUdp: true,
54
54
  enableTcp: true,
55
55
  preferUdp: !ServerHandler_1.ServerHandler.getInstance().serverStartRequest.isTCPConnection,
@@ -68,7 +68,7 @@ async function plainTransportConfiguration() {
68
68
  return {
69
69
  comedia: false,
70
70
  rtcpMux: false,
71
- listenIp: { ip: '127.0.0.1', announcedIp: publicIpAddress },
71
+ listenIp: { ip: '0.0.0.0', announcedIp: publicIpAddress },
72
72
  };
73
73
  }
74
74
  exports.plainTransportConfiguration = plainTransportConfiguration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-server",
3
- "version": "1.1.8",
3
+ "version": "1.2.0",
4
4
  "description": "Vani Meeting Server SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",