# Push Publishing Addon to youtube

**URL:** <https://community.wowza.com/t/push-publishing-addon-to-youtube/605>\
**Category:** Wowza Streaming Engine\
**Created:** [March 3, 2014, 4:51am UTC](https://community.wowza.com/t/push-publishing-addon-to-youtube/605 "2014-03-03T04:51:06Z")\
**Posts on this page:** 4\
**Page:** 1

<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 3, 2014, 4:51am UTC](https://community.wowza.com/t/push-publishing-addon-to-youtube/605/1 "2014-03-03T04:51:06Z")

</div>

Hi, I have setup restreaming from a axis camera using instructions here:

[https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming](https://www.wowza.com/docs/how-to-re-stream-video-from-an-ip-camera-rtsp-rtp-re-streaming)

The restream works fine and I can see the camera at

rtmp://webcamip:1935/webcam/

stream: webcam01.stream

I would like to push publish this rtmp stream to youtube

So I’ve installed the ModulePushPublish using instructions here: [https://www.wowza.com/docs/how-to-stream-to-youtube](https://www.wowza.com/docs/how-to-stream-to-youtube)

So under modules for the webcam application: i have: ﻿

﻿

[http://imgur.com/RotWkb5](http://imgur.com/RotWkb5)

ModulePushPublish ModulePushPublish com.wowza.wms.pushpublish.module.ModulePushPublish

**PushPublishMap.txt**

contains:

mystream={Profile:rtmp, StreamName: “streamfromyoutube”,Host:“[a.rtmp.youtube.com](http://a.rtmp.youtube.com)”, Application: “live2”}

mystream={Profile:rtmp, StreamName: “streamfromyoutube”,Host:“[b.rtmp.youtube.com](http://b.rtmp.youtube.com)”, Application: “live2?backup=1”}

I then restarted the server.

I have checked the log file as per instructions here: [https://www.wowza.com/docs/how-to-debug-push-publishing](https://www.wowza.com/docs/how-to-debug-push-publishing)

root@push:/usr/local/WowzaStreamingEngine/logs# cat wowzastreamingengine\_access.log | grep push

gives nothing. So I assume the plugin isn’t loading. Are their any further steps I need to take in order to load the module?

---

<div class="post-metadata">

**Author:** ![Andy\_Lau](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Andy\_Lau](https://community.wowza.com/u/Andy_Lau)\
**Post date:** [March 3, 2014, 5:23am UTC](https://community.wowza.com/t/push-publishing-addon-to-youtube/605/2 "2014-03-03T05:23:48Z")

</div>

Looks like I had a line in PushPublishMap.txt which was incorrect. Changing to

webcam01.stream={Profile:rtmp, StreamName: “streamfromyoutube”,Host:“[a.rtmp.youtube.com](http://a.rtmp.youtube.com)”, Application: “live2”}

webcam01.stream={Profile:rtmp, StreamName: “streamfromyoutube”,Host:“[b.rtmp.youtube.com](http://b.rtmp.youtube.com)”, Application: “live2?backup=1”}

Now means I can see that the module is loading in the log file

root@push:/usr/local/WowzaStreamingEngine/logs# cat wowzastreamingengine\_access.log | grep ModulePushPublish

2014-03-03 13:14:25 GMT comment server INFO 200 - ModulePushPublish.startPublishSession[webcam/_definst_/webcam01.stream]: profile:rtmp rtmp://a.rtmp.youtube.com:1935/live2/o776r - - - 4.994 - - - - - - - - - -

2014-03-03 13:14:25 GMT comment server INFO 200 - ModulePushPublish.startPublishSession[webcam/_definst_/webcam01.stream]: profile:rtmp rtmp://b.rtmp.youtube.com:1935/live2?backup=1/o776r - - - 4.998 - - - - - - - - -

2014-03-03 13:16:42 GMT comment server INFO 200 - ModulePushPublish.stopPublishSession[webcam/_definst_/webcam01.stream]: profile:rtmp rtmp://a.rtmp.youtube.com:1935/live2/o776r _defaultVHost_ webcam _definst_ 142.333 - 80 null 127.0.0.1 rtsp - known 431967555 21977025 0 - - - - - - - - - - - - - null -

2014-03-03 13:16:42 GMT comment server INFO 200 - ModulePushPublish.stopPublishSession[webcam/_definst_/webcam01.stream]: profile:rtmp rtmp://b.rtmp.youtube.com:1935/live2?backup=1/o776r _defaultVHost_ webcam _definst_ 142.333 - 80 null 127.0.0.1 rtsp known 431967555 21977025 0 - - - - - - - - - - - - - null -

2014-03-03 13:16:48 GMT comment server INFO 200 - ModulePushPublish.startPublishSession[webcam/_definst_/webcam01.stream]: profile:rtmp rtmp://a.rtmp.youtube.com:1935/live2/o776r - - - 4.653 - - - - - - - - - -

2014-03-03 13:16:48 GMT comment server INFO 200 - ModulePushPublish.startPublishSession[webcam/_definst_/webcam01.stream]: profile:rtmp rtmp://b.rtmp.youtube.com:1935/live2?backup=1/o776r - - - 4.666 - - - - - - - - -

root@push:/usr/local/WowzaStreamingEngine/

However, cat wowzastreamingengine\_access.log | grep onAppStart doesn’t give any lnformation about Wowza Push Publishing AddOn 3.5 build9999 starting up. So it’s unclear to me if the module is actually loaded.

Youtube complains " We are not receiving data from your encoder. Please make sure it is configured correctly in the Ingestion Settings page. " Firewall currently allows all traffic to and from the server for the time being. Any ideas?

---

<div class="post-metadata">

**Author:** ![Andy\_Lau](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Andy\_Lau](https://community.wowza.com/u/Andy_Lau)\
**Post date:** [March 3, 2014, 11:34am UTC](https://community.wowza.com/t/push-publishing-addon-to-youtube/605/3 "2014-03-03T11:34:27Z")

</div>

After a bit of digging I think the issue now might be due to Youtube not letting streams with no audio live webcast.

Same issue as this guy had previously.

> [@Trying to stream Ip camera (Axis P5414) Webcam to YouTube Live](http://community.wowza.com/t/-/41964):
>
> I’m running into trouble trying to stream my ipcamera to youtube live. I know I need the push publishing addon. My camera only transmits audio at 16khz. Youtube Live requires a 44khz audio stream. Is there anyway around this? I’d prefer not streaming any audio or at the very least injecting an mp3 audio file that repeats however if I have to resort to this, I want to avoid having a computer at any point in the process (other then the wowza server). Thanks My camera: [http://www.axis.com/pro…](http://www.axis.com/products/cam_p5414e/index.htm?utm_source=p5414e&utm_medium=banner&utm_campaign=IndexBanners)

Does anyone know if their is a work around for this at the moment? e.g transcode the stream and add a audio track (which would just be empty).

---

<div class="post-metadata">

**Author:** ![Roger\_Littin1](https://avatars.discourse-cdn.com/v4/letter/r/c89c15/32.png) [@Roger\_Littin1](https://community.wowza.com/u/Roger_Littin1)\
**Post date:** [March 5, 2014, 10:06am UTC](https://community.wowza.com/t/push-publishing-addon-to-youtube/605/4 "2014-03-05T10:06:08Z")

</div>

Hi,

In the new [Module Collection](https://www.wowza.com/docs/module-collection), there is a module which is designed exactly for this purpose. It adds an audio track to an incoming video source so that it will be accepted by CDNs that require video and audio.

See [Adding An Audio Track To A Video Only Stream (ModuleAddAudioTrack)](https://www.wowza.com/docs/how-to-add-an-audio-track-to-a-video-only-stream-moduleaddaudiotrack%28ModuleAddAudioTrack%29) for configuration details.

Roger.
