# AddOn preview of Flash HTTP streaming (Flash HTTP)

**URL:** <https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98>\
**Category:** Wowza Streaming Engine\
**Created:** [July 3, 2010, 10:39am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98 "2010-07-03T10:39:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [July 3, 2010, 10:39am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/1 "2010-07-03T10:39:31Z")

</div>

[wowzathreadtoarticleredirect]111[/wowzathreadtoarticleredirect]

---

<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:** [August 6, 2010, 3:25pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/2 "2010-08-06T15:25:17Z")

</div>

You need to use the stream manager to start the stream (as if you were streaming to the iPhone or Silverlight).

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:** [August 10, 2010, 6:43am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/3 "2010-08-10T06:43:56Z")

</div>

Our current implementation of Flash HTTP live streaming much like the iPhone. It is pre-chunked in 10 second chunks. So the latency is very high. I am pretty sure that Flash HTTP streaming is not designed for low latency streaming. The RTMP protocol is best suited for low latency streaming. Where as Flash HTTP streaming is best suited for multi-bitrate higher latency live streaming and video on demand streaming.

Charlie

---

<div class="post-metadata">

**Author:** ![Sebastien\_Faure](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sebastien\_Faure](https://community.wowza.com/u/Sebastien_Faure)\
**Post date:** [July 3, 2010, 10:32pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/4 "2010-07-03T22:32:08Z")

</div>

Thank you Charlie, will be very useful …

---

<div class="post-metadata">

**Author:** ![Alejandro\_Ferrari](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Alejandro\_Ferrari](https://community.wowza.com/u/Alejandro_Ferrari)\
**Post date:** [July 4, 2010, 1:00am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/5 "2010-07-04T01:00:27Z")

</div>

Charlie,

Amazing, first question, what is the API name for Know how many users are connected to this type of Stream?

I would like to add to my monitoring system.

![](http://www.wmconsulting.info/wp-content/uploads/2010/07/connection-Counts.png)

Thanks

Alejandro

---

<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 4, 2010, 4:51am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/6 "2010-07-04T04:51:43Z")

</div>

This is not hooked up yet. It will be coming soon. Still lots of work to do.

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 6, 2010, 5:31am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/7 "2010-07-06T05:31:03Z")

</div>

The error message:

LiveStreamPacketizerSanJose.handleHolder: Invalid video/audio codec combination for iPhone/iPod: video:7 audio:

Is bogus. There is still a lot of work to do with San Jose streaming. I believe at this time only H.264/AAC work properly.

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 17, 2010, 5:45am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/8 "2010-07-17T05:45:09Z")

</div>

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

It should be about the same or lower. We do not have the tools to do head to head performance testing.

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

Flash Access is most likely the right way to secure these streams. We are still working out how Wowza and Flash Access might work together.

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

Certainly play and stop and some form of seek that is similar to Silverlight seek. I don’t think we get the data from the player to get the precise play, pause, seek, stop information that we get today over RTMP. So what we report will be derived based on which segments of the video are requested.

> 1. 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?

I really don’t know. Certainly live and multi-bitrate will be tougher for the web server solutions.

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 21, 2010, 4:06pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/9 "2010-07-21T16:06:27Z")

</div>

What demos links are not working for you? I assume you have double checked to be sure you are running Flash player 10.1?

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 23, 2010, 6:01am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/10 "2010-07-23T06:01:10Z")

</div>

Thijsie,

I am a bit confused. Your post refers to Big Buck Bunny and Elephants Dream but you say you tried live. Please describe in detail what you have tried.

Does this link work for you?

[https://www.wowza.com/\_demo/flashhttp/OSMFPlayer.html](https://www.wowza.com/_demo/flashhttp/OSMFPlayer.html)

This link works for me everywhere that I have Flash player 10.1 installed. If this does not work then it could be an issue with the OSMF player.

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 23, 2010, 10:54am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/11 "2010-07-23T10:54:20Z")

</div>

I had all the Wowza folks here run the following test and they were all able to play the video. See if you follow these steps if it works. If not, I would try other computers and other network setups to see if you can isolate why it is not working for you. It does work:

> I need help with a quick test of the new Flash HTTP streaming. Please first upgrade to the latest version of Flash (10,1,53,64). You can check your version here:
> 
> [http://kb2.adobe.com/cps/155/tn\_15507.html](http://kb2.adobe.com/cps/155/tn_15507.html)
> 
> If you need to update flash player go here:
> 
> [http://get.adobe.com/flashplayer/](http://get.adobe.com/flashplayer/)
> 
> Once you have verified you have the correct version of Flash, please try this link and send me the results:
> 
> [https://www.wowza.com/\_demo/flashhttp/OSMFPlayer.html](https://www.wowza.com/_demo/flashhttp/OSMFPlayer.html)
> 
> 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:** [August 3, 2010, 4:38am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/12 "2010-08-03T04:38:00Z")

</div>

> Hi, Charlie!
> 
> When some API like IModuleOnHTTPCupertinoStreamingSession
> 
> will be available? As I understand it was not written yet…

Do you mean **IModuleOnHTTPSanJoseStreamingSession**? I don’t have specific dates as to when we plan on completing our Flash HTTP streaming work.

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:** [August 3, 2010, 6:06am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/13 "2010-08-03T06:06:32Z")

</div>

When you say your own Flash player what do you mean? To stream using Flash HTTP streaming you need to use the OSMF framework. It provides the HTTP streaming functionality. At this time I do not know of any other way to do it. The OSMF framework info is here:

[http://www.osmf.org/](http://www.osmf.org/)

[http://opensource.adobe.com/wiki/display/osmf/Open+Source+Media+Framework](http://opensource.adobe.com/wiki/display/osmf/Open+Source+Media+Framework)

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:** [August 3, 2010, 6:37am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/14 "2010-08-03T06:37:37Z")

</div>

> Hi, Charlie!
> 
> When some API like IModuleOnHTTPCupertinoStreamingSession
> 
> will be available? As I understand it was not written yet…

Try this patch:

[WowzaMediaServer2.1.2-patch2.zip](https://www.wowza.com/downloads/WowzaMediaServer-2-1-2/WowzaMediaServer2.1.2-patch2.zip)

It should add support for IModuleOnHTTPSanJoseStreamingSession. So you should be able to add the following methods to your modules:

```auto
public void onHTTPSanJoseStreamingSessionCreate(HTTPStreamerSessionSanJose httpSanJoseStreamingSession)
{
	getLogger().info("onHTTPSanJoseStreamingSessionCreate");
}
public void onHTTPSanJoseStreamingSessionDestroy(HTTPStreamerSessionSanJose httpSanJoseStreamingSession)
{
	getLogger().info("onHTTPSanJoseStreamingSessionDestroy");
}

```

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:** [August 6, 2010, 4:31am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/15 "2010-08-06T04:31:41Z")

</div>

Be sure that the Streams/LiveStreamPacketizers setting in conf/[application]/Application.xml is not set to anything. If this is set it assumes it is a live stream which is what it looks like it is doing.

```auto
<LiveStreamPacketizers></LiveStreamPacketizers>

```

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:** [August 6, 2010, 7:28am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/16 "2010-08-06T07:28:10Z")

</div>

I would start off with a more simple case just to get it working (remember this is very early alpha-ish code). I would try FMLE with H.264 baseline level 3 AAC audio stream type set to live. Keep it simple and get that working first. I have not tried live in a while so there is a chance it might be broken.

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:** [August 6, 2010, 5:06pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/17 "2010-08-06T17:06:42Z")

</div>

This I believe is a Wowza problem with live Flash HTTP streaming. Again, very early in our implementation. Video on demand is futher along than live. Not sure when we will release another version with improved live support.

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:** [August 8, 2010, 4:26am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/18 "2010-08-08T04:26:39Z")

</div>

I have updated the FlashHTTP package to fix live streaming. It should work properly now. Still working on live stream repeater and multi-bitrate. I figured I would push out this fix before I moved on to these features.

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:** [September 20, 2010, 10:32am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/19 "2010-09-20T10:32:37Z")

</div>

> I installed the addon and was able to get flash http streaming working using the OSMF player. However, when I refresh the client page while it is playing a VOD smil file, the stream fails to restart playing and is taking the server a long time to disconnect the client. If I clear the cache on the browser, the client plays fine after a refresh.

I have seen this as well. Have not had a chance to dig into it. I think I might know what it is. Had similar issues with Silverlight. Had to do with HTTP keep alive and delivery of the crossdomain.xml file.

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:** [October 7, 2010, 3:26pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/20 "2010-10-07T15:26:54Z")

</div>

You may need patch5. I would go ahead and install patch5 then install the Flash HTTP AddOn.

Charlie

[Next page](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98.md?page=2)
