# Mediasoup publishing probator packets on rtp port of plain transport

**URL:** <https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213>\
**Category:** mediasoup libraries\
**Created:** [August 24, 2021, 4:51pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213 "2021-08-24T16:51:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajatjindal007](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/rajatjindal007/32/1159_2.png) [@rajatjindal007](https://mediasoup.discourse.group/u/rajatjindal007)\
**Post date:** [August 24, 2021, 4:51pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/1 "2021-08-24T16:51:14Z")

</div>

We have an issue where video media is muxed with probator media on the same port when sending to the recording component (This is our component that listens to the plain transport created in mediasoup to listen to the incoming media from browser and publish it on a port for recording). Is there a way to disable sending probator media to recording client.  
For example our H264 media payload is 125 and probator payload is 127, both are sent to recording client. We just want to sent PT 125.

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [August 24, 2021, 7:33pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/2 "2021-08-24T19:33:31Z")

</div>

Your client should ignore probation packets (those with payload type 127 and ssrc 1234).

If that’s not possible, then don’t lie mediasoup in the rtpCapabilities you are passing to it when consuming the producer, meaning that do not tell mediasoup that your client supports transport-wide-sew RTP extension header and transport-cc RTCP feedback.

---

<div class="post-metadata">

**Author:** ![rajatjindal007](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/rajatjindal007/32/1159_2.png) [@rajatjindal007](https://mediasoup.discourse.group/u/rajatjindal007)\
**Post date:** [August 24, 2021, 8:01pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/3 "2021-08-24T20:01:05Z")

</div>

So is there a way to disable it on the router itself. Mediasoup router automatically adds this to the router rtpCapabilities although I am not including it in my codecs when creating the worker.

---

<div class="post-metadata">

**Author:** ![rajatjindal007](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/rajatjindal007/32/1159_2.png) [@rajatjindal007](https://mediasoup.discourse.group/u/rajatjindal007)\
**Post date:** [August 24, 2021, 8:10pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/4 "2021-08-24T20:10:34Z")

</div>

I removed both the things you mentioned before calling produce, but still seeing 127 PT data.

```auto
if (produceParameters && produceParameters.rtpParameters) {
			produceParameters.rtpParameters.codecs.forEach(codec => {
				codec.rtcpFeedback = codec.rtcpFeedback.filter(r => r.type !== 'transport-cc');				
			});
			produceParameters.rtpParameters.headerExtensions = produceParameters.rtpParameters.headerExtensions.filter(h => !h.uri.includes('transport-wide-cc-extensions'));
		}

```

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [August 24, 2021, 8:10pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/5 "2021-08-24T20:10:53Z")

</div>

Please focus on what I said. It was accurate.

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [August 24, 2021, 8:12pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/6 "2021-08-24T20:12:03Z")

</div>

I mentioned rtpCapabilities when you consume() the producer, right? You are removing stuff from producer rtpParameters instead. No idea why but that’s far from what I said.

---

<div class="post-metadata">

**Author:** ![rajatjindal007](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/rajatjindal007/32/1159_2.png) [@rajatjindal007](https://mediasoup.discourse.group/u/rajatjindal007)\
**Post date:** [August 24, 2021, 8:21pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/7 "2021-08-24T20:21:01Z")

</div>

my bad. I probably read it wrong. I did it on consumer and still see some initial packets with 127 type and then it is coming in as 125. Is there a way to stop it altogether.

---

<div class="post-metadata">

**Author:** ![rajatjindal007](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/rajatjindal007/32/1159_2.png) [@rajatjindal007](https://mediasoup.discourse.group/u/rajatjindal007)\
**Post date:** [August 27, 2021, 3:47pm UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/8 "2021-08-27T15:47:09Z")

</div>

Hi… I am able to get the stream without the 127 PT type but we are still seeing some initial 127 packets before it stops. Anything we can do to stop it completely.

---

<div class="post-metadata">

**Author:** ![chenzx](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@chenzx](https://mediasoup.discourse.group/u/chenzx)\
**Post date:** [July 28, 2022, 9:03am UTC](https://mediasoup.discourse.group/t/mediasoup-publishing-probator-packets-on-rtp-port-of-plain-transport/3213/9 "2022-07-28T09:03:20Z")

</div>

i also get the same problem… payloadType=127 & ssrc=0x1234 rtp packets still there when i do rtpCapabilities filter of rtp transport.consume() call
