# What parameter of sdp needs change to differentiate

**URL:** <https://community.wowza.com/t/what-parameter-of-sdp-needs-change-to-differentiate/52977>\
**Category:** Wowza Streaming Engine\
**Created:** [March 11, 2019, 3:35pm UTC](https://community.wowza.com/t/what-parameter-of-sdp-needs-change-to-differentiate/52977 "2019-03-11T15:35:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiran\_Patil](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Kiran\_Patil](https://community.wowza.com/u/Kiran_Patil)\
**Post date:** [March 11, 2019, 3:35pm UTC](https://community.wowza.com/t/what-parameter-of-sdp-needs-change-to-differentiate/52977/1 "2019-03-11T15:35:22Z")

</div>

Hi,

I would like to check to send 2 video streams to wowza account using 2 sdp files from the same origin/host.

I would like to know what parameters of the sdp file needs to be changed such that 2 video streams should not mixup/overlap.

Thanks.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [March 11, 2019, 8:01pm UTC](https://community.wowza.com/t/what-parameter-of-sdp-needs-change-to-differentiate/52977/2 "2019-03-11T20:01:02Z")

</div>

Hello @Kiran Patil, I checked for you and you should be able to stream from the same origin/host by using a different port number. Can you try that and let me know? Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [March 11, 2019, 8:05pm UTC](https://community.wowza.com/t/what-parameter-of-sdp-needs-change-to-differentiate/52977/3 "2019-03-11T20:05:21Z")

</div>

“m=” is used to listen audio and video with the associated ports.

[https://tools.ietf.org/html/rfc4566#section-5.14](https://tools.ietf.org/html/rfc4566#section-5.14)

“a= rtpmap” is used to map different inputs.

[https://tools.ietf.org/html/rfc4566#section-6](https://tools.ietf.org/html/rfc4566#section-6)

FFmpeg can provide an example.

```auto
ffmpeg.exe -re -i input.mp4 -vcodec copy -an -f rtp rtp://192.168.1.23:10002 -vn -acodec copy -f rtp rtp://192.168.23.1:10000

```

This is what it output. I have added a blank line to differentiate between audio and video.

```auto
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
t=0 0
a=tool:libavformat 58.9.100

m=video 10002 RTP/AVP 96
c=IN IP4 192.168.1.23
b=AS:999
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z2QAHqzZQLQ9v/AAgACRAAADAGQAABdqDxYtlg==,aOvhM8jw; profile-level-id=64001E

m=audio 10000 RTP/AVP 97
c=IN IP4 192.168.23.1
b=AS:351
a=rtpmap:97 MPEG4-GENERIC/48000/2
a=fmtp:97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3; config=119056E500

```

Ensure that each SDP file has no overlap for different audio or video streams. Do not create SDP files by hand.
