# Announcing RTP Stream (and UDP Port Negotiation) using REST API

**URL:** <https://community.wowza.com/t/announcing-rtp-stream-and-udp-port-negotiation-using-rest-api/45613>\
**Category:** Wowza Developer Dojo\
**Created:** [October 14, 2015, 1:14pm UTC](https://community.wowza.com/t/announcing-rtp-stream-and-udp-port-negotiation-using-rest-api/45613 "2015-10-14T13:14:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![User1](https://avatars.discourse-cdn.com/v4/letter/u/5daacb/32.png) [@User1](https://community.wowza.com/u/User1)\
**Post date:** [October 14, 2015, 1:14pm UTC](https://community.wowza.com/t/announcing-rtp-stream-and-udp-port-negotiation-using-rest-api/45613/1 "2015-10-14T13:14:36Z")

</div>

(Moderator, please move this thread to the Wowza 4 Forums. Sorry about that.)

I have two questions:

1. Is it possible to announce an RTP stream using the REST API? I guess this involves PUTting the SDP file with a REST call, but I couldn’t find any documented example of this.

2. Is it possible to negotiate RTP/UDP ports via the REST API? This is needed to prevent multiple sources from streaming to the same destination UDP port.

Thanks.

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [October 15, 2015, 10:57am UTC](https://community.wowza.com/t/announcing-rtp-stream-and-udp-port-negotiation-using-rest-api/45613/2 "2015-10-15T10:57:43Z")

</div>

Hello

The REST API is operational in the sense that you can complete many CRUD operations against the server (in the same way that the Wowza Engine Manager leverages the API). So for the two elements listed here, would be best placed within the Java API via [module or server listener](https://www.wowza.com/docs/wowza-streaming-engine-java-api) etc.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Uvin\_Withana](https://avatars.discourse-cdn.com/v4/letter/u/5e9695/32.png) [@Uvin\_Withana](https://community.wowza.com/u/Uvin_Withana)\
**Post date:** [November 11, 2019, 5:12pm UTC](https://community.wowza.com/t/announcing-rtp-stream-and-udp-port-negotiation-using-rest-api/45613/3 "2019-11-11T17:12:41Z")

</div>

@Matt Young is this at all possible using the REST API (v4.7+). 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:** [November 11, 2019, 11:37pm UTC](https://community.wowza.com/t/announcing-rtp-stream-and-udp-port-negotiation-using-rest-api/45613/5 "2019-11-11T23:37:13Z")

</div>

Hi @Uvin Withana, Matt is no longer with Wowza, but I did check with the engineers for you and they said that by default, engine will announce different ports per rtp stream.

---

<div class="post-metadata">

**Author:** ![Uvin\_Withana](https://avatars.discourse-cdn.com/v4/letter/u/5e9695/32.png) [@Uvin\_Withana](https://community.wowza.com/u/Uvin_Withana)\
**Post date:** [November 12, 2019, 9:37am UTC](https://community.wowza.com/t/announcing-rtp-stream-and-udp-port-negotiation-using-rest-api/45613/6 "2019-11-12T09:37:02Z")

</div>

Hi @Rose Power-Wowza Community Manager, thanks. Regarding question 1 above, can the REST API be used to add SDP files into wowza. I could not find this in the documentation.
