Wowza Community

AddOn preview of Flash HTTP streaming (Flash HTTP)

Which links?

Richard

I tested with my copy, and they worked.

Richard

I don’t think this example will run from the file system like most of the other examples. You have to copy all the files to a web server and run it from a web location.

Richard

Is it the same Application as is now working for vod with empty LiveStreamPacketizers?

For the OSMF player/SanJose live streaming, you need the sanjosestreamingpacketizer

sanjosestreamingpacketizer

Makes more sense to do that in Application with StreamType "live’

Richard

I think with this kind of stream for SanJose, like Silverlight and Cupertino, you will have to use StreamManager to start the stream first

Richard

You have to edit the Application.xml /HTTPStreamers. Add “sanjosestreaming”

It should look like this:

<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>

Richard

Make sure you copied the jar file in the package to Wowza /lib folder and restarted Wowza. And make sure there is an application named vod, and that the Application.xml is here:

/conf/vod/Application.xml

And make sure you are using the latest version of Wowza, apply the recent patch if necessary:

http://wowza.com/devbuild.html

It works here. I get the xml with the manifest in a browser, and the video plays in the player. Go over all the instructions more carefully.

Richard

Interesting, thanks for the report. We will take a look at that. For now this is a preview. There is more work to do on Flash HTTP (sanjose) streaming using Wowza.

Richard

Make sure you copy the jar file from the package to Wowza lib folder, then restart Wowza. It should work on the latest Wowza AMI with a patch.

Richard

Sorry, I meant “without”: It should run on the latest AMI without a patch.

Richard

I think IModuleOnHTTPSanJoseStreamingSession is in only the FlashHTTP addon. It is in the Server-side api document in the recent patch 5, but that patch does not include wms-httpstreamer-sanjosestreaming.jar.

So all you should need is the FlashHTTP addon package here:

http://www.wowza.com/forums/content.php?111

Copy the jar file from that package to the Ec2 Wowza lib folder, then restart Wowza.

Richard

Did you check “yes” on “Are you using HTTP Streaming or Flash Access 2.0?”, below the Stream Source box?

It works with the test stream:

http://localhost:1935/vod/smil:bigbuckbunny.smil/manifest.f4m

Richard

Did you try it with the test stream?

Are you trying to do multi-bitrate live? Because that is not supported as yet with this Addon.

Richard

Are you using the Wowza Dynamic Load Balancing system? If so, you can use the HTTP redirect method, but you have to implement in the application server (asp, php, etc).

https://www.wowza.com/docs/how-to-get-dynamic-load-balancing-addon

You will get “least loaded server” with HTTP request from application server, then send form HTML with correct URL to client.

Since it is a Flash app, you could use the NetConnection method also. I.e., make a netconnection to the Load balancer redirect application, then use the returned redirect info to start the HTTP streaming session.

Richard

I don’t think there is any way to do it without either the cooperation of the client or in the application server, as I described.

Richard

Romano,

I don’t understand. Can you clarify?

Richard

In Wowza Dynamic Load Balance Addon, you can use HTTP method to get “least loaded server”.

You could use the NetConnection method too, use it just to get redirect info then connect to the SanJose stream on the least loaded edge.

Richard

Romano,

These methods might work for you:

https://www.wowza.com/docs/how-to-do-server-side-redirect-of-rtmp-connections-from-one-application-to-another

https://www.wowza.com/docs/how-to-redirect-an-http-or-rtsp-session-through-server-side-code

Richard

Charlie,

Great work, a few questions:

  1. How is resource utilization on the server in regards to http compared to rtmp and rtmpt ?

  2. Will there be a secure variant akin to rtmpte, i.e. https ?

  3. Will logging be able to show play, seek, and other “streaming” events with this protocol?

  4. Since this is http, and behaves like IIS smooth streaming, is it fair to say Apache, IIS, and other web servers are likely/easily able to add Flash http support in the future?

With this in mind, do you see Wowza adding the ability to act as a optimized file delivery web server? It seems there is convergence ahead.

Thank you!

The OSMFPlayer is playing back my live stream beautifully.

But it stops consistently and precisely at 30sec :-/

Is this inherent in the player itself?