# Using a transcoder to convert WebRTC to SRT

**URL:** <https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [October 29, 2020, 1:44pm UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243 "2020-10-29T13:44:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davide\_Calde](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@Davide\_Calde](https://community.wowza.com/u/Davide_Calde)\
**Post date:** [October 29, 2020, 1:44pm UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/1 "2020-10-29T13:44:07Z")

</div>

Hi,

I’m trying to transcode webRTC to SRT with no success. I use a trnscoder with video set to “Passthrough” and audio set to AAC. Unfortunately, If i set the transcoded stream as source for a stream target, i always get “error”. Is there a way to get that work.

I managed to transcode that stream in MPEG-TS. That seems to work, although i have problems like video freezes and pixelation.

Do you have any idea?

Thank you very much in advance,  
Davide

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [October 29, 2020, 3:13pm UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/2 "2020-10-29T15:13:12Z")

</div>

Are you able to play the stream directly from the Wowza Streaming Engine, e.g. with VLC or ffplay over RTMP, RTSP, MPEG-DASH or HLS?

---

<div class="post-metadata">

**Author:** ![Davide\_Calde](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@Davide\_Calde](https://community.wowza.com/u/Davide_Calde)\
**Post date:** [October 29, 2020, 4:53pm UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/3 "2020-10-29T16:53:35Z")

</div>

Hi Karel,

I checked that. VLC plays the stream over UDP: udp://@xxx.xxx.xxx.xxx:64700/mystream

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [October 30, 2020, 7:29am UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/4 "2020-10-30T07:29:24Z")

</div>

But can VLC play the stream from Wowza? Like `rtmp://{wowza-ip}/live/mystream` or `http://{wowza-ip}:1935/live/mystream/playlist.m3u8`

---

<div class="post-metadata">

**Author:** ![Davide\_Calde](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@Davide\_Calde](https://community.wowza.com/u/Davide_Calde)\
**Post date:** [October 30, 2020, 12:39pm UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/5 "2020-10-30T12:39:41Z")

</div>

Hi Karel,

yes, I can play http://{wowza-ip}:1935/live/mystream/playlist.m3u8 BUT some strange thing happens: I see the stream but it alternates with a black screen. A bit of the stream followed by a black screen…i have no idea why…

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [November 1, 2020, 1:59pm UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/6 "2020-11-01T13:59:49Z")

</div>

If your test playback directly from the server over HLS and RTMP isn’t stable either then it’s probably something with the ingest; maybe your WebRTC incoming stream isn’t stable?

---

<div class="post-metadata">

**Author:** ![Davide\_Calde](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@Davide\_Calde](https://community.wowza.com/u/Davide_Calde)\
**Post date:** [November 2, 2020, 7:48am UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/7 "2020-11-02T07:48:13Z")

</div>

Karel, now it’s OK. The problem was a port that should have been open but it wasn’t. In addition to this, by using srt I have no problems at all with the video quality. The only thing is that I don’t have audio… I will check it.

Thank you very much for your support.  
Davide

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [November 2, 2020, 8:06am UTC](https://community.wowza.com/t/using-a-transcoder-to-convert-webrtc-to-srt/92243/8 "2020-11-02T08:06:32Z")

</div>

Good to hear it has been solved, @Davide_Calde. Good luck with your project!
