Wowza Community

PushPublish and USTREAM

Hello!

I have some problem in setting up my wowza server to push to Ustream…

I have a camera that streams video via internet to my wowza server, and it all works fine with a content called mpeg-ts.stream

udp://0.0.0.0:6504

I installed the PushPublish addon, I configured everything as written in the guide, but no way to publish in ustream.

In \lib\ I copied wms-plugin-pushpublish.jar

In \conf, PushPublishMap.txt and PushPublishProfiles.xml

I edited my /conf/live/Application.xml with

<Module>
	<Name>ModulePushPublish</Name>
	<Description>Wowza PushPublishing Module</Description>
	<Class>com.wowza.wms.plugin.pushpublish.module.ModulePushPublish</Class>
</Module>

and

<Property>
	<Name>pushPublishProfilePath</Name>
	<Value>${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishProfiles.xml</Value>
</Property>
<Property>
	<Name>pushPublishMapPath</Name>
	<Value>${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishMap.txt</Value>
</Property>
<Property>
	<Name>pushPublishSDPStorageDir</Name>
	<Value>${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sdp</Value>
</Property>

In pushpublishmap.txt I added my stream

myStream={profile:"rtmp", host: "1.xxxxxx.fme.ustream.tv", application:"ustreamVideo", appInstance: 1317xxxx, streamName:"mystreametcetcetc", originalTimecodeThreshold:0x100000}

Where is the mistake?

Thank you!

I’m a newbie and I’m asking for it because, in internet, it seems like an easy procedure… :frowning:

Can you playback “myStream” from Wowza? I mean not involving push, just normal playback of the live stream. Is the camera stream named “myStream”? If you are using a .stream file you should use that file name instead of myStream.

Richard

I there, I just set this up and created a free account with UStream. I was able to get it working using FLME.

The first potential issue I see is the streamName, is this the auto generated stream name that UStream provided for you? A sample auto generated stream name looks something like this:

y8CcYMK8BnqzFmXnfw7ZHa5uSzYbZWWH

This from the PushPublish documentation:

To push to UStream.tv, use the rtmp profile. On the UStream Dashboard for your channel, find the Remote tab and get the URL and Stream Key. They will look something like this:
URL: rtmp://1.2345.fme.ustream.tv/ustreamVideo/67890
StreamName: ExampleStringKeyKFMpfXrssJhbq

If this doesn’t help can you explain your set up a little more?

Salvadore

Just to clarify, you have the map format correct in the pushpublishmap.txt file, I would just check the streamName of the mapping.

Again; from the PushPublish documentation:

The streaming URL is broken into the following components in the map data:
Host: 1.2345.fme.ustream.tv
Application: ustreamVideo
AppInstance: 67890
Example map entry:
myStream={profile:"rtmp", host: "1.2345.fme.ustream.tv", application:"ustreamVideo", appInstance: 67890, streamName:"ExampleStringKeyKFMpfXrssJhbq", originalTimecodeThreshold:0x100000}

Salvadore

Did you make sure your live stream was started? what do you see in the access logs?

Or did changing the streamName correct this issue?

Salvadore

The stream does not appear to be starting, this is probably do to unopened UDP ports.

Have a look at this troubleshooting guide:

How to troubleshoot RTSP/RTP playback

Salvadore

I there, I just set this up and created a free account with UStream. I was able to get it working using FLME.

The first potential issue I see is the streamName, is this the auto generated stream name that UStream provided for you? A sample auto generated stream name looks something like this:

y8CcYMK8BnqzFmXnfw7ZHa5uSzYbZWWH

This from the PushPublish documentation:

To push to UStream.tv, use the rtmp profile. On the UStream Dashboard for your channel, find the Remote tab and get the URL and Stream Key. They will look something like this:
URL: rtmp://1.2345.fme.ustream.tv/ustreamVideo/67890
StreamName: ExampleStringKeyKFMpfXrssJhbq

If this doesn’t help can you explain your set up a little more?

Salvadore

Hi Salvadore!

I entered the streamname, the key, the appinstance etc in the format explained in the PushPublishMap.txt (what I wrote in my post is only a censored example).

I don’t how this stuff has to work! :frowning:

Here’s my pushpublishmap.txt

myStream={profile:"rtmp", host: "1.13174147.fme.ustream.tv", application:"ustreamVideo", appInstance: 13174147, streamName:"th2yjxYq7J9WWFgqykxhUehmAjbUKrUj", originalTimecodeThreshold:0x100000}
2013-07-15	17:19:26	CEST	create	stream	INFO	200	-	-	_defaultVHost_	live	_definst_	0.0	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:26	CEST	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.init: Drop incomplete video frames	_defaultVHost_	live	_definst_	1052.89	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
2013-07-15	17:19:26	CEST	comment	server	INFO	200	-	RTPUDPTransport.bind[live/_definst_]: /0.0.0.0:6504	_defaultVHost_	live	_definst_	1052.891	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
2013-07-15	17:19:26	CEST	publish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	0.001	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:26	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: done: 81	-	-	-	1052.892	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.streamTimeout[4695761:live/_definst_:mpegts.stream]: timeout:12000 diff:12009 reason:101	-	-	-	1065.298	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.resetConnection[4695761:live/_definst_:mpegts.stream]: 	-	-	-	1065.298	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.closeRTPSession[4695761:live/_definst_:mpegts.stream]	-	-	-	1065.298	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPUDPTransport.unbind[live/_definst_]: /0.0.0.0:6504 sent:0 recv:0	-	-	-	1065.299	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:39	CEST	unpublish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.409	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:39	CEST	destroy	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.409	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: start: 82	-	-	-	1065.3	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://0.0.0.0:6504	-	-	-	1065.4	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:39	CEST	create	stream	INFO	200	-	-	_defaultVHost_	live	_definst_	0.0	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.init: Drop incomplete video frames	_defaultVHost_	live	_definst_	1065.401	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPUDPTransport.bind[live/_definst_]: /0.0.0.0:6504	_defaultVHost_	live	_definst_	1065.403	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
2013-07-15	17:19:39	CEST	publish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	0.002	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: done: 82	-	-	-	1065.404	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.streamTimeout[4695761:live/_definst_:mpegts.stream]: timeout:12000 diff:12009 reason:101	-	-	-	1077.809	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.resetConnection[4695761:live/_definst_:mpegts.stream]: 	-	-	-	1077.809	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.closeRTPSession[4695761:live/_definst_:mpegts.stream]	-	-	-	1077.809	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPUDPTransport.unbind[live/_definst_]: /0.0.0.0:6504 sent:0 recv:0	-	-	-	1077.81	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:51	CEST	unpublish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.409	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:51	CEST	destroy	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.41	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: start: 83	-	-	-	1077.813	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://0.0.0.0:6504	-	-	-	1077.914	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

I am also having the same issue, I can tell that my stream is running because I can view it off of my Wowza server but I can not get it to send to USTREAM.

I have copied files

In \lib\ I copied wms-plugin-pushpublish.jar

In \conf, PushPublishMap.txt and PushPublishProfiles.xml

I have added at the bottom of my Application.xml file

"

ModulePushPublish

Wowza PushPublishing Module

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

pushPublishProfilePath

${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishProfiles.xml

pushPublishMapPath

${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishMap.txt

pushPublishSDPStorageDir

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sdp

"

and in the PushPublishMap.txt

I have:

myStream={profile:“rtmp”, host: “1.15687151.fme.ustream.tv”, application:“ustreamVideo”, appInstance: 15687151, streamName:“kkNva6pKBVhhnSWCcpf9UHKnu4JVn4Jx”, originalTimecodeThreshold:0x100000}

please assist.

thanks