# Mediasoup Consumer Not Receiving Packets – Need Debugging Help

**URL:** <https://mediasoup.discourse.group/t/mediasoup-consumer-not-receiving-packets-need-debugging-help/6567>\
**Category:** mediasoup libraries\
**Created:** [March 19, 2025, 1:17pm UTC](https://mediasoup.discourse.group/t/mediasoup-consumer-not-receiving-packets-need-debugging-help/6567 "2025-03-19T13:17:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vamshi](https://avatars.discourse-cdn.com/v4/letter/v/ecccb3/32.png) [@Vamshi](https://mediasoup.discourse.group/u/Vamshi)\
**Post date:** [March 19, 2025, 1:17pm UTC](https://mediasoup.discourse.group/t/mediasoup-consumer-not-receiving-packets-need-debugging-help/6567/1 "2025-03-19T13:17:01Z")

</div>

I’m working on a Mediasoup-based video call setup and running into an issue where a consumer isn’t receiving packets from a producer.

Here’s my setup:

- The producer is created successfully, and `rtpParameters` are sent to the consumer.
- The consumer is created, and `consumer.resume()` is called.
- `consumer.on("transportclose", ...)` and `consumer.on("producerclose", ...)` are set up.
- No errors in logs, but the consumer never receives media.

Things I’ve checked:

1. **Producer Works:** consumers in the mediaserver can recieve it.
2. **Transport Connectivity:** Both producer and consumer transports are connected (`dtlsState: "connected"`).
3. **RTP Parameters:** Double-checked they match between producer and consumer.
4. **ICE & Network:** No ICE disconnects or NAT issues in logs.

Would appreciate any debugging tips!

---

<div class="post-metadata">

**Author:** ![Vamshi](https://avatars.discourse-cdn.com/v4/letter/v/ecccb3/32.png) [@Vamshi](https://mediasoup.discourse.group/u/Vamshi)\
**Post date:** [March 20, 2025, 12:41pm UTC](https://mediasoup.discourse.group/t/mediasoup-consumer-not-receiving-packets-need-debugging-help/6567/2 "2025-03-20T12:41:00Z")

</div>

```auto
|timestamp|3/20/2025, 6:06:19 PM||
| --- | --- | --- |
|bytesSent|15387547||
|[bytesSent_in_bits/s]|1705227.5825271886||
|packetsSent|14056||
|[packetsSent/s]|194.91870456047587||
|bytesReceived|15713991||
|[bytesReceived_in_bits/s]|1707747.7435558494||
|packetsReceived|14697||
|[packetsReceived/s]|200.82533197139938||
|dtlsState|connected|

```

this are the stats of the producer transport.The out-bound and in-bound bytes are same which shouldn’t in a producer transport.

Please Can anyone tell me why this happens.And i cannot see any traffic in consumer transport.Anyone have any idea what im missing.

---

<div class="post-metadata">

**Author:** ![Vamshi](https://avatars.discourse-cdn.com/v4/letter/v/ecccb3/32.png) [@Vamshi](https://mediasoup.discourse.group/u/Vamshi)\
**Post date:** [March 20, 2025, 1:15pm UTC](https://mediasoup.discourse.group/t/mediasoup-consumer-not-receiving-packets-need-debugging-help/6567/3 "2025-03-20T13:15:04Z")

</div>

The issue is Fixed. Found out the problem is im creating a consumer using producer transport​:skull:🤡
