# Strange RTP packet from DirectTransport Consume

**URL:** <https://mediasoup.discourse.group/t/strange-rtp-packet-from-directtransport-consume/2935>\
**Category:** Integration\
**Created:** [June 16, 2021, 6:37am UTC](https://mediasoup.discourse.group/t/strange-rtp-packet-from-directtransport-consume/2935 "2021-06-16T06:37:55Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jbaudanza](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/jbaudanza/32/1996_2.png) [@jbaudanza](https://mediasoup.discourse.group/u/jbaudanza)\
**Post date:** [June 17, 2021, 5:00am UTC](https://mediasoup.discourse.group/t/strange-rtp-packet-from-directtransport-consume/2935/11 "2021-06-17T05:00:37Z")

</div>

I had a similar problem with ffmpeg, as documented in this thread:

> [@Help debugging duplicate RTP timestamps from WebRTC](https://mediasoup.discourse.group/t/help-debugging-duplicate-rtp-timestamps-from-webrtc/2643):
>
> I’m passing an Opus RTP stream from WebRTC M89 on Android through MediaSoup to an instance of ffmpeg. Every 5 seconds, my ffmpeg process is receiving a set of three RTP packets with duplicate RTP timestamps, but sequential sequence numbers. The first packet contains audio data, the last two are empty, except for a header extension (RTCP Source Description Items). I’m able to verify this with Wireshark and debug code in ffmpeg. This streams looks something like this: Sequence timestamp …

I fixed it on the ffmpeg side by just ignoring any packet with a length of 0. I’m using the C interface to ffmpeg, I’m not sure if that’s possible with the command line.

This only started becoming a problem with recent version of libwebrtc (around M89 I think)

---

_[View the full topic](https://mediasoup.discourse.group/t/strange-rtp-packet-from-directtransport-consume/2935)._
