Troubleshooting no-audio

I have the same web page open in 2 Chrome browsers on the same laptop (MacOS).

The web page produces audio only (OPUS) to the mediasoup-demo server and plays audio from received from the server from the other WebRTC client. I expect to speak / hear between the two browsers… and when running on the same machine, lots of echo. However, there is no sound.

I am trying to determine where the issue lies. When I look at the mediasoup server stats, everything looks correct to me. Do you see anything fishy? Is there something else I should look for on the server?

dr  mediasoup:Router dump() +2m
  mediasoup:Channel request() [method:router.dump, id:76] +14s

  mediasoup:Channel request succeeded [method:router.dump, id:76] +0ms
router.dump():
{
  "id": "d7a14813-cbcd-4f4f-a640-853df39b4cfa",
  "mapConsumerIdProducerId": {
    "bc1c9954-8684-4ccd-9c0d-435ac2a5e0ea": "699a0df2-657c-4edd-af55-b8b3db0bb0aa",
    "e2a28c6b-4953-4b69-a180-60826f1eefaa": "53a4b77b-c3cc-4265-a582-7501535a9ef9"
  },
  "mapDataConsumerIdDataProducerId": {},
  "mapDataProducerIdDataConsumerIds": {
    "aa68d6a8-13f7-40c8-9170-051b2d3e7e79": []
  },
  "mapProducerIdConsumerIds": {
    "53a4b77b-c3cc-4265-a582-7501535a9ef9": [
      "e2a28c6b-4953-4b69-a180-60826f1eefaa"
    ],
    "699a0df2-657c-4edd-af55-b8b3db0bb0aa": [
      "bc1c9954-8684-4ccd-9c0d-435ac2a5e0ea"
    ]
  },
  "mapProducerIdObserverIds": {
    "53a4b77b-c3cc-4265-a582-7501535a9ef9": [
      "310ed253-fbeb-4a8b-89e8-10138e8c1007"
    ],
    "699a0df2-657c-4edd-af55-b8b3db0bb0aa": [
      "310ed253-fbeb-4a8b-89e8-10138e8c1007"
    ]
  },
  "rtpObserverIds": [
    "310ed253-fbeb-4a8b-89e8-10138e8c1007"
  ],
  "transportIds": [
    "6b758196-81d0-4875-b554-a749bed6e650",
    "d37fd602-812d-4aa9-b940-89bfc3ac7e0e",
    "da3bd89e-ccce-4b9a-8ef6-16f9b6ae0019",
    "43e694de-0571-4af1-8ea9-69b2365303e3",
    "eed7765e-631b-48cf-a334-3e7bc8a7d765"
  ]
}
cmd> dc bc1c9954-8684-4ccd-9c0d-435ac2a5e0ea  mediasoup:Consumer dump() +30s
  mediasoup:Channel request() [method:consumer.dump, id:77] +16s

  mediasoup:Channel request succeeded [method:consumer.dump, id:77] +1ms
consumer.dump():
{
  "consumableRtpEncodings": [
    {
      "ssrc": 903061318
    }
  ],
  "id": "bc1c9954-8684-4ccd-9c0d-435ac2a5e0ea",
  "kind": "audio",
  "paused": false,
  "priority": 1,
  "producerId": "699a0df2-657c-4edd-af55-b8b3db0bb0aa",
  "producerPaused": false,
  "rtpParameters": {
    "codecs": [
      {
        "channels": 2,
        "clockRate": 48000,
        "mimeType": "audio/opus",
        "parameters": {
          "minptime": 10,
          "sprop-stereo": 1,
          "usedtx": 1,
          "useinbandfec": 1
        },
        "payloadType": 100,
        "rtcpFeedback": []
      }
    ],
    "encodings": [
      {
        "codecPayloadType": 100,
        "ssrc": 207903359
      }
    ],
    "headerExtensions": [
      {
        "encrypt": false,
        "id": 1,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:sdes:mid"
      },
      {
        "encrypt": false,
        "id": 4,
        "parameters": {},
        "uri": "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"
      },
      {
        "encrypt": false,
        "id": 10,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:ssrc-audio-level"
      }
    ],
    "mid": "1",
    "rtcp": {
      "cname": "d5f3Xndm5V0qkdKc",
      "reducedSize": true
    }
  },
  "rtpStream": {
    "params": {
      "clockRate": 48000,
      "cname": "d5f3Xndm5V0qkdKc",
      "mimeType": "audio/opus",
      "payloadType": 100,
      "spatialLayers": 1,
      "ssrc": 207903359,
      "temporalLayers": 1,
      "useDtx": true,
      "useFir": false,
      "useInBandFec": true,
      "useNack": false,
      "usePli": false
    },
    "score": 10
  },
  "supportedCodecPayloadTypes": [
    100
  ],
  "traceEventTypes": "",
  "type": "simple"
}
cmd>   mediasoup:Worker getResourceUsage() +2m
  mediasoup:Channel request() [method:worker.getResourceUsage, id:110] +1s
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:61] +0ms
  mediasoup:Worker getResourceUsage() +1ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:61] +1ms
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:67] +0ms
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:68] +0ms
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:68] +0ms
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:72] +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:110] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64207]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 61, ru_maxrss: 6709248, ru_minflt: 1765, ru_msgrcv: 8013, ru_msgsnd: 4461, ru_nivcsw: 54039, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 4, ru_oublock: 0, ru_stime: 748, ru_utime: 782 } +2m
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:61] +1ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64208]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6320128, ru_minflt: 1733, ru_msgrcv: 8210, ru_msgsnd: 7765, ru_nivcsw: 44540, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 578, ru_utime: 647 } +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:61] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64209]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6205440, ru_minflt: 1705, ru_msgrcv: 1520, ru_msgsnd: 1246, ru_nivcsw: 7814, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 96, ru_utime: 124 } +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:67] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64210]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6275072, ru_minflt: 1715, ru_msgrcv: 3066, ru_msgsnd: 2663, ru_nivcsw: 14401, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 182, ru_utime: 222 } +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:68] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64211]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6352896, ru_minflt: 1740, ru_msgrcv: 7812, ru_msgsnd: 7617, ru_nivcsw: 32379, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 446, ru_utime: 503 } +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:68] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64212]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6316032, ru_minflt: 1728, ru_msgrcv: 14723, ru_msgsnd: 14795, ru_nivcsw: 43738, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 690, ru_utime: 772 } +1ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:72] +1ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64213]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6381568, ru_minflt: 1745, ru_msgrcv: 5108, ru_msgsnd: 5117, ru_nivcsw: 20769, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 304, ru_utime: 344 } +0ms
  mediasoup:Worker getResourceUsage() +54ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:51] +52ms
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:51] +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:51] +1ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64214]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6008832, ru_minflt: 1655, ru_msgrcv: 3484, ru_msgsnd: 379, ru_nivcsw: 19333, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 247, ru_utime: 272 } +53ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:51] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64215]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 5910528, ru_minflt: 1633, ru_msgrcv: 1635, ru_msgsnd: 225, ru_nivcsw: 9367, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 111, ru_utime: 132 } +0ms
  mediasoup:Worker getResourceUsage() +37ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:53] +36ms
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:78] +0ms
  mediasoup:Worker getResourceUsage() +0ms
  mediasoup:Channel request() [method:worker.getResourceUsage, id:26] +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:53] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64216]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6000640, ru_minflt: 1652, ru_msgrcv: 1522, ru_msgsnd: 257, ru_nivcsw: 14281, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 174, ru_utime: 187 } +37ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:78] +1ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64217]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 6377472, ru_minflt: 1742, ru_msgrcv: 5352, ru_msgsnd: 4883, ru_nivcsw: 20171, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 289, ru_utime: 340 } +0ms
  mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:26] +0ms
  mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64218]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 4124672, ru_minflt: 1198, ru_msgrcv: 26, ru_msgsnd: 26, ru_nivcsw: 34, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 0, ru_oublock: 0, ru_stime: 2, ru_utime: 8 } +0ms
  mediasoup-demo-server:INFO:Room logStatus() [roomId:4279155, protoo Peers:2, mediasoup Transports:5] +2m
dc e2a28c6b-4953-4b69-a180-60826f1eefaa  mediasoup:Consumer dump() +15s
  mediasoup:Channel request() [method:consumer.dump, id:79] +13s

  mediasoup:Channel request succeeded [method:consumer.dump, id:79] +0ms
consumer.dump():
{
  "consumableRtpEncodings": [
    {
      "ssrc": 251324670
    }
  ],
  "id": "e2a28c6b-4953-4b69-a180-60826f1eefaa",
  "kind": "audio",
  "paused": false,
  "priority": 1,
  "producerId": "53a4b77b-c3cc-4265-a582-7501535a9ef9",
  "producerPaused": false,
  "rtpParameters": {
    "codecs": [
      {
        "channels": 2,
        "clockRate": 48000,
        "mimeType": "audio/opus",
        "parameters": {
          "minptime": 10,
          "sprop-stereo": 1,
          "usedtx": 1,
          "useinbandfec": 1
        },
        "payloadType": 100,
        "rtcpFeedback": []
      }
    ],
    "encodings": [
      {
        "codecPayloadType": 100,
        "ssrc": 195016108
      }
    ],
    "headerExtensions": [
      {
        "encrypt": false,
        "id": 1,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:sdes:mid"
      },
      {
        "encrypt": false,
        "id": 4,
        "parameters": {},
        "uri": "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"
      },
      {
        "encrypt": false,
        "id": 10,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:ssrc-audio-level"
      }
    ],
    "mid": "3",
    "rtcp": {
      "cname": "M1sixCrcdnAfFf1Y",
      "reducedSize": true
    }
  },
  "rtpStream": {
    "params": {
      "clockRate": 48000,
      "cname": "M1sixCrcdnAfFf1Y",
      "mimeType": "audio/opus",
      "payloadType": 100,
      "spatialLayers": 1,
      "ssrc": 195016108,
      "temporalLayers": 1,
      "useDtx": true,
      "useFir": false,
      "useInBandFec": true,
      "useNack": false,
      "usePli": false
    },
    "score": 10
  },
  "supportedCodecPayloadTypes": [
    100
  ],
  "traceEventTypes": "",
  "type": "simple"
}
cmd> dp 699a0df2-657c-4edd-af55-b8b3db0bb0aa  mediasoup:Producer dump() +58s
  mediasoup:Channel request() [method:producer.dump, id:80] +13s

  mediasoup:Channel request succeeded [method:producer.dump, id:80] +1ms
producer.dump():
{
  "id": "699a0df2-657c-4edd-af55-b8b3db0bb0aa",
  "kind": "audio",
  "paused": false,
  "rtpMapping": {
    "codecs": [
      {
        "mappedPayloadType": 100,
        "payloadType": 111
      }
    ],
    "encodings": [
      {
        "mappedSsrc": 903061318,
        "rid": null,
        "ssrc": 1727736524
      }
    ]
  },
  "rtpParameters": {
    "codecs": [
      {
        "channels": 2,
        "clockRate": 48000,
        "mimeType": "audio/opus",
        "parameters": {
          "minptime": 10,
          "sprop-stereo": 1,
          "usedtx": 1,
          "useinbandfec": 1
        },
        "payloadType": 111,
        "rtcpFeedback": [
          {
            "type": "transport-cc"
          }
        ]
      }
    ],
    "encodings": [
      {
        "codecPayloadType": 111,
        "ssrc": 1727736524
      }
    ],
    "headerExtensions": [
      {
        "encrypt": false,
        "id": 4,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:sdes:mid"
      },
      {
        "encrypt": false,
        "id": 2,
        "parameters": {},
        "uri": "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"
      },
      {
        "encrypt": false,
        "id": 3,
        "parameters": {},
        "uri": "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"
      },
      {
        "encrypt": false,
        "id": 1,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:ssrc-audio-level"
      }
    ],
    "mid": "1",
    "rtcp": {
      "cname": "d5f3Xndm5V0qkdKc",
      "reducedSize": true
    }
  },
  "rtpStreams": [
    {
      "params": {
        "clockRate": 48000,
        "cname": "d5f3Xndm5V0qkdKc",
        "mimeType": "audio/opus",
        "payloadType": 111,
        "spatialLayers": 1,
        "ssrc": 1727736524,
        "temporalLayers": 1,
        "useDtx": true,
        "useFir": false,
        "useInBandFec": true,
        "useNack": false,
        "usePli": false
      },
      "score": 10
    }
  ],
  "traceEventTypes": "",
  "type": "simple"
}
cmd> dp 53a4b77b-c3cc-4265-a582-7501535a9ef9  mediasoup:Producer dump() +8s
  mediasoup:Channel request() [method:producer.dump, id:81] +8s

  mediasoup:Channel request succeeded [method:producer.dump, id:81] +0ms
producer.dump():
{
  "id": "53a4b77b-c3cc-4265-a582-7501535a9ef9",
  "kind": "audio",
  "paused": false,
  "rtpMapping": {
    "codecs": [
      {
        "mappedPayloadType": 100,
        "payloadType": 111
      }
    ],
    "encodings": [
      {
        "mappedSsrc": 251324670,
        "rid": null,
        "ssrc": 585636206
      }
    ]
  },
  "rtpParameters": {
    "codecs": [
      {
        "channels": 2,
        "clockRate": 48000,
        "mimeType": "audio/opus",
        "parameters": {
          "minptime": 10,
          "sprop-stereo": 1,
          "usedtx": 1,
          "useinbandfec": 1
        },
        "payloadType": 111,
        "rtcpFeedback": [
          {
            "type": "transport-cc"
          }
        ]
      }
    ],
    "encodings": [
      {
        "codecPayloadType": 111,
        "ssrc": 585636206
      }
    ],
    "headerExtensions": [
      {
        "encrypt": false,
        "id": 4,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:sdes:mid"
      },
      {
        "encrypt": false,
        "id": 2,
        "parameters": {},
        "uri": "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"
      },
      {
        "encrypt": false,
        "id": 3,
        "parameters": {},
        "uri": "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01"
      },
      {
        "encrypt": false,
        "id": 1,
        "parameters": {},
        "uri": "urn:ietf:params:rtp-hdrext:ssrc-audio-level"
      }
    ],
    "mid": "3",
    "rtcp": {
      "cname": "M1sixCrcdnAfFf1Y",
      "reducedSize": true
    }
  },
  "rtpStreams": [
    {
      "params": {
        "clockRate": 48000,
        "cname": "M1sixCrcdnAfFf1Y",
        "mimeType": "audio/opus",
        "payloadType": 111,
        "spatialLayers": 1,
        "ssrc": 585636206,
        "temporalLayers": 1,
        "useDtx": true,
        "useFir": false,
        "useInBandFec": true,
        "useNack": false,
        "usePli": false
      },
      "score": 10
    }
  ],
  "traceEventTypes": "",
  "type": "simple"
}
cmd> sc bc1c9954-8684-4ccd-9c0d-435ac2a5e0ea  mediasoup:Consumer getStats() +41s
  mediasoup:Channel request() [method:consumer.getStats, id:82] +20s

  mediasoup:Channel request succeeded [method:consumer.getStats, id:82] +1ms
consumer.getStats():
[
  {
    "bitrate": 22742,
    "byteCount": 316649,
    "firCount": 0,
    "fractionLost": 0,
    "kind": "audio",
    "mimeType": "audio/opus",
    "nackCount": 0,
    "nackPacketCount": 0,
    "packetCount": 1795,
    "packetsDiscarded": 0,
    "packetsLost": 0,
    "packetsRepaired": 0,
    "packetsRetransmitted": 0,
    "pliCount": 0,
    "score": 10,
    "ssrc": 207903359,
    "timestamp": 511722894,
    "type": "outbound-rtp"
  },
  {
    "bitrate": 22218,
    "byteCount": 309469,
    "firCount": 0,
    "fractionLost": 0,
    "jitter": 0,
    "kind": "audio",
    "mimeType": "audio/opus",
    "nackCount": 0,
    "nackPacketCount": 0,
    "packetCount": 1795,
    "packetsDiscarded": 0,
    "packetsLost": 0,
    "packetsRepaired": 0,
    "packetsRetransmitted": 0,
    "pliCount": 0,
    "roundTripTime": 0.762939453125,
    "score": 10,
    "ssrc": 1727736524,
    "timestamp": 511722894,
    "type": "inbound-rtp"
  }
]
cmd> sc e2a28c6b-4953-4b69-a180-60826f1eefaa  mediasoup:Consumer getStats() +8s
  mediasoup:Channel request() [method:consumer.getStats, id:83] +8s

  mediasoup:Channel request succeeded [method:consumer.getStats, id:83] +0ms
consumer.getStats():
[
  {
    "bitrate": 4198,
    "byteCount": 359848,
    "firCount": 0,
    "fractionLost": 0,
    "kind": "audio",
    "mimeType": "audio/opus",
    "nackCount": 0,
    "nackPacketCount": 0,
    "packetCount": 2040,
    "packetsDiscarded": 0,
    "packetsLost": 0,
    "packetsRepaired": 0,
    "packetsRetransmitted": 0,
    "pliCount": 0,
    "score": 10,
    "ssrc": 195016108,
    "timestamp": 511731094,
    "type": "outbound-rtp"
  },
  {
    "bitrate": 4045,
    "byteCount": 351688,
    "firCount": 0,
    "fractionLost": 0,
    "jitter": 282,
    "kind": "audio",
    "mimeType": "audio/opus",
    "nackCount": 0,
    "nackPacketCount": 0,
    "packetCount": 2040,
    "packetsDiscarded": 0,
    "packetsLost": 0,
    "packetsRepaired": 0,
    "packetsRetransmitted": 0,
    "pliCount": 0,
    "roundTripTime": 0.9765625,
    "score": 10,
    "ssrc": 585636206,
    "timestamp": 511731094,
    "type": "inbound-rtp"
  }
]
cmd> sp 699a0df2-657c-4edd-af55-b8b3db0bb0aa  mediasoup:Producer getStats() +36s
  mediasoup:Channel request() [method:producer.getStats, id:84] +8s

  mediasoup:Channel request succeeded [method:producer.getStats, id:84] +1ms
producer.getStats():
[
  {
    "bitrate": 3914,
    "byteCount": 323379,
    "firCount": 0,
    "fractionLost": 0,
    "jitter": 0,
    "kind": "audio",
    "mimeType": "audio/opus",
    "nackCount": 0,
    "nackPacketCount": 0,
    "packetCount": 1902,
    "packetsDiscarded": 0,
    "packetsLost": 0,
    "packetsRepaired": 0,
    "packetsRetransmitted": 0,
    "pliCount": 0,
    "roundTripTime": 1.2054443359375,
    "score": 10,
    "ssrc": 1727736524,
    "timestamp": 511738893,
    "type": "inbound-rtp"
  }
]
cmd> sp 53a4b77b-c3cc-4265-a582-7501535a9ef9  mediasoup:Producer getStats() +9s
  mediasoup:Channel request() [method:producer.getStats, id:85] +9s

  mediasoup:Channel request succeeded [method:producer.getStats, id:85] +0ms
producer.getStats():
[
  {
    "bitrate": 4147,
    "byteCount": 365151,
    "firCount": 0,
    "fractionLost": 0,
    "jitter": 0,
    "kind": "audio",
    "mimeType": "audio/opus",
    "nackCount": 0,
    "nackPacketCount": 0,
    "packetCount": 2146,
    "packetsDiscarded": 0,
    "packetsLost": 0,
    "packetsRepaired": 0,
    "packetsRetransmitted": 0,
    "pliCount": 0,
    "roundTripTime": 1.251220703125,
    "score": 10,
    "ssrc": 585636206,
    "timestamp": 511747894,
    "type": "inbound-rtp"
  }
]
cmd> 

Got it working and all set. Thanks!

Please, how did you solve it? I have the same echo problem…