Push Publishing Addon to youtube

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

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

So under modules for the webcam application: i have: 



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”, Application: “live2”}

mystream={Profile:rtmp, StreamName: “streamfromyoutube”,Host:“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

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?

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”, Application: “live2”}

webcam01.stream={Profile:rtmp, StreamName: “streamfromyoutube”,Host:“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?

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.

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).

Hi,

In the new 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) for configuration details.

Roger.