Wowza Community

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

Not getting anything on my other wowza server. I was getting an authentication string in the log, but I commented out the auth part and now I get nothing.

That is my suspicion as well. Although I am pretty sure I had it working before even with that definst included.

I made some progress this morning.

2011-07-28 08:44:41 EDT comment server INFO 200 - PushPublisherRTMP: connecting to rtmp://p.ep49790.i.akamaientrypoint.net:1935/EntryPoint/definst/wowza_push_test@49790 defaultVHost push definst 3.073 - - - - - - - - - - - - - - - - - - - - - - - - -

2011-07-28 08:44:41 EDT comment server INFO 200 - PushPublisher.sessionOpened[rtmp://p.ep49790.i.akamaientrypoint.net:1935/EntryPoint/definst/wowza_push_test@49790]: - - - 3.093 - - - - - - - - - - - - - - -

I no longer get the disconnects and there is something coming through from akamai now. http://support.akamai.com/flash/index.html?autostart=true&url=rtmp%3A//cp45648.live.edgefcs.net/live/wowza_push_test@49790 The player indicates bandwidth coming in, but there is no video or audio. When I restart Wowza a bit of audio and video will come through, but only for a split second. I don’t have anything else in my logs. I have confirmed that playing the video over RTSP and HLS right from wowza works fine.

Here is my current code:

// Source stream

publisher.setAppInstance(appInstance);

publisher.setSrcStreamName(“test”);

// Destination stream

publisher.setHostname(“p.ep49790.i.akamaientrypoint.net”);

publisher.setDstApplicationName(“EntryPoint”);

publisher.setDstStreamName(“wowza_push_test@49790”);

publisher.setPort(1935);

//publisher.setConnectionFlashVerion(“FMLE/3.0”);

// SecureToken shared secret

//publisher.setSecureTokenSharedSecret("#ed%h0#w@1");

publisher.setSendFCPublish(true);

publisher.setSendReleaseStream(true);

//publisher.setSendOnMetadata(true);

//publisher.setRemoveDefaultAppInstance(true);

publisher.setAkamaiUserName(username);

publisher.setAkamaiPassword(password);

WMSLoggerFactory.getLogger(null).info("PushPublisherRTMP: Akamai Credentials - " + publisher.getAkamaiUserName() + “–” + publisher.getAkamaiPassword() );

WMSLoggerFactory.getLogger(null).info("PushPublisherRTMP: connecting to " + publisher.getContextStr());

publisher.connect();

publishers.put(stream, publisher);

Got it working!

Here is my code in case anyone wants to reuse.

							// Source stream
							publisher.setAppInstance(appInstance);
							publisher.setSrcStreamName("test");

							// Destination stream
							publisher.setHostname(dstHost);
							publisher.setDstApplicationName(dstApp);
							publisher.setDstStreamName(dstStream);
							
							publisher.setPort(1935);

							publisher.setSendFCPublish(true);
							publisher.setSendReleaseStream(true);
							publisher.setSendOriginalTimecodes(true);
							
							publisher.setAkamaiUserName(akamaiUsername);
							publisher.setAkamaiPassword(akamaiPassword);

						
							
							publisher.connect();
							publishers.put(stream, publisher);

I got the latest version from sales and now it will not publish at all. Streams still play fine locally on Wowza.

This is new in the logs:

2012-01-27 13:36:49 EST comment server INFO 200 - PushPublisher#PingResult.onResult[rtmp://p.epxxxxx.i.akamaientrypoint.net:1935/EntryPoint/definst/testing@xxxxx]: false - - - 69.577 - -

The logging from my plugin still looks good:

2012-01-27 13:38:26 EST comment server INFO 200 - PushPublisher.sessionOpened[rtmp://p.epxxxxx.i.akamaientrypoint.net:1935/EntryPoint/definst/testing@xxxxx]: - - - 3.762

I was working with Akamai previous to posting here and we determined the video was not arriving at their FMS correctly. Here is the code I am using - https://github.com/telvue/WowzaAkamaiPushPlugin/blob/master/TelvueAkamiPushPlugin.java . Previous to the latest version of the plugin I downloaded the video was at least making it to Akamai, but now it seems (based on the Ping false) that it is not. I do the get the sessionOpened in the log and everything appears to be working.

Hey Folks,

I know CDNetworks isn’t in the recommended CDN list. Has anyone run into any issues with them or has any advice? One thing I’ve noticed is I believe it records even when publish is set to live. Playing back from rtmp://[ApplicationName]/ gets you the recording and rtmp://[ApplicationName]/definst/ gets you the live stream.

Cheers,

Pete

Hey Alejandro,

I have it working functionally. I’m just seeing if anyone has ever run into issues I should be aware about. Like having it records even though you’re pushing a ‘Live’ stream. Not too worried we’re testing all week and migrating to a recommended CDN.

  • Pete

Just curious,

Is there a reason you’re using PushPublisher between two wowza servers? I believe Live Stream Repeater is recommended between two wowza based CDNs. PushPublish is more for wowza to FMS/CDN. In any case I believe you need to send the info along the netstream metadata.

Cheers,

Pete

Hellas,

did anyone succesdfully push-publish a stream to ustream.tv ?

We already push streams to different CDN providers including livestream.com but have now an issue with ustream.tv.

We can successfully connect to the ingest server but we are able to publish the stream.

We tried already with different options of

publisher.setRemoveDefaultAppInstance(true);

publisher.setConnectionFlashVerion(“FMLE/3.0”);

without any success.

publisher.setHostname(“1.xxxxxxxxx.fme.ustream.tv”);

publisher.setPort(1935);

publisher.setDstApplicationName(“ustreamVideo”);

publisher.setDstAppInstanceName(“777xxxxx”);

publisher.setDstStreamName(“nilJslfZP83FFZLvBGR2DCxxxxxxxxx”);

Any ideas ?

Thanks in advance for your help.

Hi Richard,

thanks a lot for your assistance. Removing the line

publisher.setRemoveDefaultAppInstance(true);

doesn’t make a lot of difference. I get definitly connected but it looks to me that I get some sort of time out.

I see in the log about every 120 seconds

INFO server comment - PushPublisher.sessionClosed

INFO server comment - PushPublisher.sessionClosed: reconnect: isCurrentSession:true tryConnect:true

INFO server comment - PushPublisher.sessionOpened:

Regards

Joe

Richard

the encoding device is not capable of generating a rtmp ingest just an rtp/udp stream so we want to use the Wowza as an ingest service for different CDN’s.

Meanwhile I managed to publish the stream to ustream.tv and automatically get the channel online.

The issue was the way ustream.tv reads the rtmp connection string. But thanks to the pushpublish library you can manipulate different options.

The only thing I still see is the disconnect of the PushPublisher object and the reconnect.

INFO server comment - PushPublisher.sessionClosed

Regards

Joe

Hi Tom,

I sent you an email with all the instructions how far I got but I still see the disconnect issue.

Hope you have more luck.

Cheers

Joe

Wanted to update this thread and add that I have had this module working with Edgecast for some time; I just got done broadcasting a 48 hour long live stream with it in fact. I see a few others here are using it with EC as well so maybe update the original post to reflect this/add Edgecast to the list of CDN’s?

Am trying to configure RTSP stream for Blackberry & Windows Mobile Devices and push the stream from wowza to Akamai CDN. Can someone help, please… thanks.

Am trying to configure RTSP stream for Blackberry & Windows Mobile Devices and push the stream from wowza to Akamai CDN. Can someone help, please… thanks.

Guys, is there any chance that when I push the stream from our Wowza through the AddOn package to [let’s say] Akamai, the clients connecting to the stream through Akamai will be able to use the SharedObject running on the Wowza? (e.g. to be able to chat with each other).

Thanks for any advice.

George.

I am trying to get this AddOn working with Limelight. They sent me a document that explains how to set it up with the .jar files etc. I have gone through the entire process and the module is functioning(I think) But I am getting this error:

PushPublisher.internalConnect[rtmp://*.pri.xxx.fmspush.llnw.net:1935/impact/definst/push-hd.stream]: java.nio.channels.UnresolvedAddressException

In there documentation it shows things like PushPublisher.Session open etc. I am by no means a java expert. Anyone set this up with Limelight that could give me some suggestions?

Thanks!

When I try to use the simplevideo streaming I am getting the following:

[ AccessManager.Reject ] :

 :

I have gone through their document and setup my host,stream name, and authentication method with user/pass. This is my encode path and I am wondering if this may be part of the issue with rtmp push: Live Video -> MPEG-TS Encoder --> Wowza -> LL. In their examples they show their FMS sending a stream name etc. My current setup doesn’t work that way. Is there a possibility that this could be part of the issue?