# RTSP restreaming to YouTube

**URL:** <https://community.wowza.com/t/rtsp-restreaming-to-youtube/45360>\
**Category:** Wowza Streaming Engine\
**Created:** [May 23, 2015, 12:47pm UTC](https://community.wowza.com/t/rtsp-restreaming-to-youtube/45360 "2015-05-23T12:47:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel\_symons](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@daniel\_symons](https://community.wowza.com/u/daniel_symons)\
**Post date:** [May 23, 2015, 12:47pm UTC](https://community.wowza.com/t/rtsp-restreaming-to-youtube/45360/1 "2015-05-23T12:47:25Z")

</div>

I’m having the exact problem as this person:

> [@RTSP streaming over Youtube Live from WOWZA not working](http://community.wowza.com/t/-/45045):
>
> Hi I have configured wowza with trial license. after successful installation and testing my requirements i will purchase license. but i am facing problem of RTSP streaming over youtube LIVE from WOWZA. What i did, I activtate application “live” on wowza and then add live rtsp live streams and connect them to wowza. I give it name CAM1.stream and CAM2.stream and add them to startup streams. Then i tried them in test players -so i watch the stream in VLC player like “rtmp://wowzaIP:1935/live…

I have a trial version and want to restream a RTSP to YouTube, After setting it in stream file, I can view the stream from connecting to Wowza over flash (RTMP). I’ve edited the PubPublishMap files with the appropriate information and restart the server but nothing?

There are no error messages or any messages in both log files.

It would help if the solution was public rather than inside a ticket. I am thinking of purchasing the monthly license to run on my server but still unsure.

Thanks.

---

<div class="post-metadata">

**Author:** ![Mac\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/mac_hill/32/434_2.png) [@Mac\_Hill](https://community.wowza.com/u/Mac_Hill)\
**Post date:** [May 23, 2015, 8:41pm UTC](https://community.wowza.com/t/rtsp-restreaming-to-youtube/45360/2 "2015-05-23T20:41:11Z")

</div>

Hello,

The forum post you referred to above was resolved by setting up the push publish module. Have you [configured the Push Publish Module](https://www.wowza.com/docs/how-to-push-streams-to-cdns-and-other-services-push-publishing%28Push-Publishing%29)?

Regards,

Mac

---

<div class="post-metadata">

**Author:** ![daniel\_symons](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@daniel\_symons](https://community.wowza.com/u/daniel_symons)\
**Post date:** [May 23, 2015, 11:30pm UTC](https://community.wowza.com/t/rtsp-restreaming-to-youtube/45360/3 "2015-05-23T23:30:24Z")

</div>

I’m going to enable debugging and move the PushPublishMap file into the applications folder to see if that helps. When you say setting up the publish module do you mean editing the file to include the line:

```auto
myStream={profile:rtmp,streamName:camera-3003.ueyx-40r8-cakt-xxx,host:b.rtmp.youtube.com,application:live2?backup=1}

```

Is there anything else / more to do after that, because I’ve done this already? I can’t find any GUI configuration inside the web admin panel to configure the module.

Edit:

Also to add: When I click test player , I see “myStream” already added and try to click play in all the players and it does not work, however when I go into “ **Incoming Streams** ” \> Click the RTSP stream \> Test Player, I can view the stream fine.

So instead of “myStream” inside PushPublishMap I’ve changed it to the same stream name that appears inside Test Player. This **does not** work either…

---

<div class="post-metadata">

**Author:** ![daniel\_symons](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@daniel\_symons](https://community.wowza.com/u/daniel_symons)\
**Post date:** [May 24, 2015, 12:59am UTC](https://community.wowza.com/t/rtsp-restreaming-to-youtube/45360/4 "2015-05-24T00:59:47Z")

</div>

Working, I did not set the modules up properly. Anyone reading this, ensure you have changed the admin user to access dev options.

Now I have a different error from YouTube telling me this.

Please use a keyframe frequency of 2 seconds or less. Keyframes are not being sent often enough, this will cause buffering. Current keyframe frequency: 14.8 seconds. GOP sizes can be wrong if you have ingestion errors.

Is there anyway of doing this without transcoding, I dislike having the watermark on their.

---

<div class="post-metadata">

**Author:** ![Juan\_Pablo](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@Juan\_Pablo](https://community.wowza.com/u/Juan_Pablo)\
**Post date:** [May 26, 2015, 8:06pm UTC](https://community.wowza.com/t/rtsp-restreaming-to-youtube/45360/5 "2015-05-26T20:06:24Z")

</div>

Hi!

I have a simmilar issue: I can’t publish to Youtube.

I setup correctly Youtube account to get the app name, stream, etc.

I have Wowza Stream Engine 4.1.1. Have variuos applications. In a particular application, that I want to send to Youtube, I have two streams:

live\_1 (1080p) (I want to send this to Youtube: H264 video, AAC audio)

live\_2 (480p)

They come from Flash Media Encoder (this work fine in the test players on Wowza and on VLC) Ej:

rtmp://[host]:1935/[appName]/live\_1

rtmp://[host]:1935/[appName]/live\_2

I configured the [Push Publishing Module](https://www.wowza.com/docs/how-to-push-streams-to-cdns-and-other-services-push-publishing%28Push-Publishing%29) ok in the app whith a user whit these privileges.

Then, I edited the /conf/PushPublishMap.txt in Wowza server adding the code:

```auto
live_1={profile:"rtmp", streamName:"xxxxxxxx.xxxx-xxxx-xxxx-83uc", host:"a.rtmp.youtube.com", application:"live2"}
live_1={profile:"rtmp", streamName:"xxxxxxxx.xxxx-xxxx-xxxx-83uc", host:"b.rtmp.youtube.com", application:"live2?backup=1"}

```

Then restart Wowza but nothing happens in Youtube (says streaming is not present or incomming).

Its ok the name of stream “live\_1={…” on the syntax?

What Iam doing wrong?

Thanks.

PS: Sorry for my english and/or if Iam broken any rule of the forum. Iam new on this.
