# PushPublish and USTREAM

**URL:** https://community.wowza.com/t/pushpublish-and-ustream/40769
**Category:** Wowza Streaming Engine
**Tags:** server-administration
**Created:** [July 15, 2013, 7:36am UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769 "2013-07-15T07:36:40Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Marco\_Castellani](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Marco\_Castellani](https://community.wowza.com/u/Marco_Castellani)
#### Post date: [July 15, 2013, 7:36am UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/1 "2013-07-15T07:36:40Z")

</div>

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

```auto
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

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

```

and

```auto
<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

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

```

Where is the mistake?

Thank you!

---

<div class="post-metadata">

### Author: ![Marco\_Castellani](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Marco\_Castellani](https://community.wowza.com/u/Marco_Castellani)
#### Post date: [July 15, 2013, 7:46am UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/2 "2013-07-15T07:46:33Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [August 30, 2013, 11:53pm UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/3 "2013-08-30T23:53:36Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [July 15, 2013, 12:11pm UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/4 "2013-07-15T12:11:02Z")

</div>

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:

```auto
y8CcYMK8BnqzFmXnfw7ZHa5uSzYbZWWH

```

This from the PushPublish documentation:

```auto
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

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [July 15, 2013, 12:28pm UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/5 "2013-07-15T12:28:56Z")

</div>

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:

```auto
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

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [July 19, 2013, 8:25am UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/6 "2013-07-19T08:25:53Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [July 19, 2013, 10:17am UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/7 "2013-07-19T10:17:34Z")

</div>

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](https://www.wowza.com/docs/how-to-troubleshoot-rtsp-rtp-playback)

Salvadore

---

<div class="post-metadata">

### Author: ![Marco\_Castellani](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Marco\_Castellani](https://community.wowza.com/u/Marco_Castellani)
#### Post date: [July 15, 2013, 1:10pm UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/8 "2013-07-15T13:10:50Z")

</div>

> 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:
> 
> ```auto
> y8CcYMK8BnqzFmXnfw7ZHa5uSzYbZWWH
> 
> ```
> 
> This from the PushPublish documentation:
> 
> ```auto
> 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! ☹

---

<div class="post-metadata">

### Author: ![Marco\_Castellani](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Marco\_Castellani](https://community.wowza.com/u/Marco_Castellani)
#### Post date: [July 18, 2013, 11:48pm UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/9 "2013-07-18T23:48:21Z")

</div>

Here’s my pushpublishmap.txt

```auto
myStream={profile:"rtmp", host: "1.13174147.fme.ustream.tv", application:"ustreamVideo", appInstance: 13174147, streamName:"th2yjxYq7J9WWFgqykxhUehmAjbUKrUj", originalTimecodeThreshold:0x100000}

```

---

<div class="post-metadata">

### Author: ![Marco\_Castellani](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Marco\_Castellani](https://community.wowza.com/u/Marco_Castellani)
#### Post date: [July 19, 2013, 7:15am UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/10 "2013-07-19T07:15:55Z")

</div>

```auto
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	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

```

---

<div class="post-metadata">

### Author: ![Matt\_Hefford](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matt\_Hefford](https://community.wowza.com/u/Matt_Hefford)
#### Post date: [August 27, 2013, 5:58pm UTC](https://community.wowza.com/t/pushpublish-and-ustream/40769/11 "2013-08-27T17:58:40Z")

</div>

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](http://1.15687151.fme.ustream.tv)”, application:“ustreamVideo”, appInstance: 15687151, streamName:“kkNva6pKBVhhnSWCcpf9UHKnu4JVn4Jx”, originalTimecodeThreshold:0x100000}

please assist.

thanks
