# Push publishing SRT from WSE server to another media server

**URL:** https://community.wowza.com/t/push-publishing-srt-from-wse-server-to-another-media-server/92762
**Category:** Wowza Streaming Engine
**Created:** [January 28, 2021, 9:54am UTC](https://community.wowza.com/t/push-publishing-srt-from-wse-server-to-another-media-server/92762 "2021-01-28T09:54:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jorge\_Nunes](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jorge_nunes/32/654_2.png) [@Jorge\_Nunes](https://community.wowza.com/u/Jorge_Nunes)
#### Post date: [January 28, 2021, 9:54am UTC](https://community.wowza.com/t/push-publishing-srt-from-wse-server-to-another-media-server/92762/1 "2021-01-28T09:54:23Z")

</div>

Hello.

I would like to ask if it is possible using Wowza Streaming Engine Java API in a custom module to programmatically push publish an SRT stream from a WSE server to another media server.

We know about, and have used, the Java class `com.wowza.wms.pushpublish.protocol.rtmp.PushPublishRTMP` for push publishing RTMP streams from within our own custom modules.

We would like to know if there is a class corresponding to `PushPublishRTMP` but for push publishing SRT streams instead. If that is indeed the case, we would also appreciate somes samples/examples of code making use it (e.g. similar to examples for `PushPublishRTMP` at [https://www.wowza.com/resources/serverapi/com/wowza/wms/pushpublish/protocol/rtmp/PushPublishRTMP.html](https://www.wowza.com/resources/serverapi/com/wowza/wms/pushpublish/protocol/rtmp/PushPublishRTMP.html)).

We know is is possible to push publish SRT streams using stream targets ([https://www.wowza.com/docs/how-to-use-srt-to-distribute-live-streams](https://www.wowza.com/docs/how-to-use-srt-to-distribute-live-streams)), or using the REST API for managing stream targets ([https://www.wowza.com/docs/stream-targets-query-examples-push-publishing](https://www.wowza.com/docs/stream-targets-query-examples-push-publishing)).

But we would like to push publish SRT streams from within our own Java code in our own custom module, just like we already do for push publishing RTMP streams.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![Sorin\_Vasilescu1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/sorin_vasilescu1/32/599_2.png) [@Sorin\_Vasilescu1](https://community.wowza.com/u/Sorin_Vasilescu1)
#### Post date: [February 22, 2021, 4:18pm UTC](https://community.wowza.com/t/push-publishing-srt-from-wse-server-to-another-media-server/92762/2 "2021-02-22T16:18:58Z")

</div>

I have the same problem, I see there is a class named com.wowza.wms.pushpublish.protocol.srt.PushPublishSRT that looks similar to it’s RTMP couterpart, but there is no documentation I can find on that.

---

<div class="post-metadata">

### Author: ![Sorin\_Vasilescu1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/sorin_vasilescu1/32/599_2.png) [@Sorin\_Vasilescu1](https://community.wowza.com/u/Sorin_Vasilescu1)
#### Post date: [February 23, 2021, 3:32pm UTC](https://community.wowza.com/t/push-publishing-srt-from-wse-server-to-another-media-server/92762/3 "2021-02-23T15:32:40Z")

</div>

Reading some other stuff in the docs, it seems SRT requires some very specific receiving configuration and you can only run one stream per receiving port. Since we are talking about programmatic publishing from one server to the other, it would be hard to implement because it would require the source server to modify the destination server receiver config in a dynamic way.
