# Push Publishing AddOn package to push stream to CDNs and service providers

**URL:** <https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [September 21, 2010, 4:06pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100 "2010-09-21T16:06:55Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [February 18, 2011, 4:22am UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/21 "2011-02-18T04:22:12Z")

</div>

I really don’t know what you are asking. What packet dumps? What CDN are you trying to push to? What warnings/errors are you seeing in Wowza logs? What does your server-side publishing code look like? We need a lot (and I mean a lot) of detail to help.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [April 18, 2011, 3:14am UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/22 "2011-04-18T03:14:56Z")

</div>

Where do you see this? The API call should change the user agent and not just append to it.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [July 27, 2011, 1:06pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/23 "2011-07-27T13:06:26Z")

</div>

The fact that the full URL is logged (with the _definst_) part does not mean the parameter is not working. The parameter controls what is sent in the **connect** method.

Charlie

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [February 8, 2012, 3:28pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/24 "2012-02-08T15:28:16Z")

</div>

call this before connect:

```auto
publisher.setRemoveDefaultAppInstance(true);

```

The _definst_ will still show up in logging statements from the publisher but will not be sent to the CDN.

Charlie

---

<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:** [September 28, 2010, 8:47pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/25 "2010-09-28T20:47:25Z")

</div>

To see published streams in JConsole you have to add IMediaStream to /conf/Server.xml /AdminInterface /ObjectList

Richard

---

<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:** [October 1, 2010, 12:31pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/26 "2010-10-01T12:31:10Z")

</div>

Which AMI are you using? It should work with one of these:

[https://www.wowza.com/ec2support.html](https://www.wowza.com/ec2support.html)

Richard

---

<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:** [October 2, 2010, 5:02pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/27 "2010-10-02T17:02:25Z")

</div>

Email sent.

Richard

---

<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:** [October 14, 2010, 10:33pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/28 "2010-10-14T22:33:24Z")

</div>

How are you using the package? Is it RTMP all the way through?

Richard

---

<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:** [October 15, 2010, 9:45pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/29 "2010-10-15T21:45:27Z")

</div>

I get the same results in my test: no onMetaData event using Flash with pushed stream.

I don’t know why right now. Will post back when I find out more.

Richard

---

<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:** [October 16, 2010, 12:26am UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/30 "2010-10-16T00:26:51Z")

</div>

It will be next week.

Richard

---

<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:** [October 20, 2010, 4:41pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/31 "2010-10-20T16:41:28Z")

</div>

I don’t have an update yet.

Richard

---

<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:** [October 20, 2010, 4:41pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/32 "2010-10-20T16:41:43Z")

</div>

I don’t have an update yet.

Richard

---

<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:** [October 20, 2010, 5:32pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/33 "2010-10-20T17:32:03Z")

</div>

I do have an update now: We don’t push the onMetaData event. We may change this in the future but there is no short term plan to do so.

Richard

---

<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:** [October 24, 2010, 12:48pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/34 "2010-10-24T12:48:14Z")

</div>

> i.e. this won’t work right?
> 
> publishers.put(stream, publisher1);
> 
> publishers.put(stream, publisher2);

What happens when you try to do it?

Richard

---

<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:** [October 24, 2010, 4:44pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/35 "2010-10-24T16:44:21Z")

</div>

I don’t the answer off the top of my head, so I would have to set up a project and test to answer it. So, if you can try it yourself it would make more sense.

Richard

---

<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:** [November 17, 2010, 11:25pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/36 "2010-11-17T23:25:01Z")

</div>

The API seems to allow for it. Try it out.

Richard

---

<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:** [December 22, 2010, 8:25pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/37 "2010-12-22T20:25:44Z")

</div>

I don’t think it’s any problem. It’s a built-in method for sensing if the stream is there and starting it as soon as it is.

Richard

---

<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:** [January 17, 2011, 4:08pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/38 "2011-01-17T16:08:34Z")

</div>

To test, you should be able to play the stream from the server/application you are pushing to.

Richard

---

<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:** [January 20, 2011, 3:02pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/39 "2011-01-20T15:02:04Z")

</div>

Peter,

There is not a way to exclude Application instance at this time. Can I ask, why do you want to do that?

Not sure about stream length, but I don’t think there is a practical limitation.

Have you tried adding param list to application or stream name? What do you get in destination?

Richard

---

<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:** [January 27, 2011, 8:00pm UTC](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100/40 "2011-01-27T20:00:17Z")

</div>

It would be using a liverepeater stream on the edge, as you described:

Edge /content/origin.stream

Edge StreamManger start origin.stream on edge application with MediaCaster type “liverepeater”

PushPublish module installed on edge pushes origin.stream

Richard

[Previous page](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100.md?page=1)

[Next page](https://community.wowza.com/t/push-publishing-addon-package-to-push-stream-to-cdns-and-service-providers/100.md?page=3)
