# 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:** 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:** [October 8, 2010, 3:57am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/21 "2010-10-08T03:57:57Z")

</div>

Sounds like the session is timing out. We will have to look at this.

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 20, 2010, 3:52am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/22 "2010-10-20T03:52:39Z")

</div>

We will look into it. Still working on FlashHTTP streaming. Thanks for the feedback. It could be a while before we release an updated version.

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

</div>

> We tested it with a single mp4 on our own Wowza server (downloaded here: [https://www.wowza.com/\_h264/bigbuckbunny\_450.mp4](https://www.wowza.com/_h264/bigbuckbunny_450.mp4)).
> 
> When I test with Wowza test link: [http://184.72.239.149/vod/smil:bigbuckbunny.smil/manifest.f4m](http://184.72.239.149/vod/smil:bigbuckbunny.smil/manifest.f4m)
> 
> The video is not working each time I hit the preview button either. But of course I can’t see it is causing a high java load server side.
> 
> On our server the java load gets high with some player requests, and it stays high until we restart Wowza.

I see the problem. Will release a new version later today. Will post back here when it is ready.

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

</div>

The new version that fixes the infinite loop problem has been posted. See the UPDATE not in the article. Re-download the package and update the lib/wms-httpstreamer-sanjosestreaming.jar file with the on in the newer package. Please let me know if this fixes your issue.

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:** [November 25, 2010, 7:22am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/25 "2010-11-25T07:22:28Z")

</div>

Set the following property in both the LiveStreamPacketizers/Properties and HTTPStreamers/Properties in conf/[application]/Application.xml:

```auto
<Property>
	<Name>cupertinoRelativePlaylistItems</Name>
	<Value>false</Value>
	<Type>Boolean</Type>
</Property>

```

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:** [December 10, 2010, 8:55am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/26 "2010-12-10T08:55:44Z")

</div>

Flash HTTP steraming is always relative. It is only cupertino streaming that has the full URLs in the playlist.m3u8 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:** [January 7, 2011, 5:27am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/27 "2011-01-07T05:27:05Z")

</div>

Describe in detail your setup (encoders, OS…) so we can try to reproduce.

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:** [January 7, 2011, 7:28am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/28 "2011-01-07T07:28:41Z")

</div>

Are you sure you are running 2.2.3. When I look at the version of the origin defined in this Application.xml it is 2.2.0.

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:** [January 7, 2011, 7:34am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/29 "2011-01-07T07:34:22Z")

</div>

I did try your Application.xml with 2.2.3 and it works for me.

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:** [January 7, 2011, 7:38am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/30 "2011-01-07T07:38:25Z")

</div>

Hmm, maybe you have an old version of the San Jose .jar file. I guess I might try a fresh install of 2.2.3. Maybe there was an issue with an upgrade.

Charlie

---

<div class="post-metadata">

**Author:** ![Hans\_Ketelbueters](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hans\_Ketelbueters](https://community.wowza.com/u/Hans_Ketelbueters)\
**Post date:** [October 20, 2010, 8:54am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/31 "2010-10-20T08:54:10Z")

</div>

We installed 2.1.2 patch5 and FlashHTTP package.

When using the included video player the video plays well (but not showing video every refresh).

But when using the video player located at

We installed 2.1.2 patch5 and FlashHTTP package.

When using the included video player the video plays well (but not showing video every refresh).

But weird things happen when using the video player located at: [http://www.osmf.org/configurator/fmp/](http://www.osmf.org/configurator/fmp/)

Sometimes the video plays after pushing “preview” button. But sometimes the screen is black, and on the server the java process takes 100% cpu and does not go down anymore.

Normal Wowza shutdown does not work when this happens.

---

<div class="post-metadata">

**Author:** ![Hans\_Ketelbueters](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hans\_Ketelbueters](https://community.wowza.com/u/Hans_Ketelbueters)\
**Post date:** [October 20, 2010, 11:33am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/32 "2010-10-20T11:33:05Z")

</div>

I checked the “yes” box, and we did see some video.

But after a few (random) attempts, pushing the “preview” button, we are seeing a black screen, and server side a java process hangs at 100% cpu.

---

<div class="post-metadata">

**Author:** ![Hans\_Ketelbueters](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hans\_Ketelbueters](https://community.wowza.com/u/Hans_Ketelbueters)\
**Post date:** [October 20, 2010, 11:47am UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/33 "2010-10-20T11:47:54Z")

</div>

We tested it with a single mp4 on our own Wowza server (downloaded here: [https://www.wowza.com/\_h264/bigbuckbunny\_450.mp4](https://www.wowza.com/_h264/bigbuckbunny_450.mp4)).

When I test with Wowza test link: [http://184.72.239.149/vod/smil:bigbuckbunny.smil/manifest.f4m](http://184.72.239.149/vod/smil:bigbuckbunny.smil/manifest.f4m)

The video is not working each time I hit the preview button either. But of course I can’t see it is causing a high java load server side.

On our server the java load gets high with some player requests, and it stays high until we restart Wowza.

---

<div class="post-metadata">

**Author:** ![Hans\_Ketelbueters](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hans\_Ketelbueters](https://community.wowza.com/u/Hans_Ketelbueters)\
**Post date:** [October 20, 2010, 8:39pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/34 "2010-10-20T20:39:53Z")

</div>

It does fix java cpu load problem, super!

I understand you are still working on it, don’t know if this is useful :

- both video players only load a test-video (also your testlink) every other attempt. When it fails the console shows this info:

```auto
INFO server comment - HTTPStreamerAdapterSanJoseStreaming.canHandle[crossdomain.xml]: false
DEBUG server comment - HTTPStreamerAdapterCupertinoStreaming.canHandle[crossdomain.xml]: false

```

- protocol is logged as “http (cupertino)”

---

<div class="post-metadata">

**Author:** ![Hans\_Ketelbueters](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hans\_Ketelbueters](https://community.wowza.com/u/Hans_Ketelbueters)\
**Post date:** [January 7, 2011, 12:10pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/35 "2011-01-07T12:10:23Z")

</div>

We are testing SanJose live streaming on 2.2.3.

Seems to work using RTMP broadcasters.

Using a RTP broadcaster, lots of errors appear and CPU load increases to 100%

java.lang.NullPointerException

at com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.LiveStreamPacketizerSanJose.updatePlaylistABST(Unknown Source)

at com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.LiveStreamPacketizerSanJose.updatePlaylistStr(Unknown Source)

at com.wowza.wms.httpstreamer.sanjosestreaming.livestreampacketizer.LiveStreamPacketizerSanJose.endChunkTS(Unknown Source)

at com.wowza.wms.httpstreamer.sanjosestreaming.liverepeater.SanJoseStreamerLiveRepeaterReceiver.addVideoData(Unknown Source)

at com.wowza.wms.stream.live.MediaStreamLiveAbstract.addVideoData(Unknown Source)

at com.wowza.wms.netconnection.NetConnectionProcessData.processNextRequest(Unknown Source)

at com.wowza.wms.netconnection.NetConnectionAdapter.service(Unknown Source)

at com.wowza.wms.netconnection.NetConnectionSessionHandler.serviceRequest(Unknown Source)

at com.wowza.wms.netconnection.NetConnectionSessionHandler.handleMessageReceived(Unknown Source)

at com.wowza.wms.netconnection.NetConnectionSessionHandler.messageReceived(Unknown Source)

at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(Unknown Source)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Unknown Source)

at org.apache.mina.common.support.AbstractIoFilterChain.access$900(Unknown Source)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(Unknown Source)

at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(Unknown Source)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Unknown Source)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Unknown Source)

at org.apache.mina.common.support.AbstractIoFilterChain.access$900(Unknown Source)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(Unknown Source)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(Unknown Source)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)

---

<div class="post-metadata">

**Author:** ![Hans\_Ketelbueters](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hans\_Ketelbueters](https://community.wowza.com/u/Hans_Ketelbueters)\
**Post date:** [January 7, 2011, 3:19pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/36 "2011-01-07T15:19:51Z")

</div>

Looks like it is related to a specific Application.xml config, not the broadcaster type.

When I switch the StreamType in the config file below, and try with a RTMP broadcasters, same thing happens for the SanJose stream. (while the rtmp stream plays fine)

When using another application (without the sorter stuff) on the same server, SanJose does work.

Server is Linux - Debian Lenny

```auto
<Root>
	<Application>
<ApplicationTimeout>500</ApplicationTimeout> 

		<Connections>
			<AutoAccept>true</AutoAccept>
			<AllowDomains></AllowDomains>
		</Connections>

			<Streams>
			<StreamType>live</StreamType>
			<StorageDir>/bla/live/rtmp/</StorageDir>
			<LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater</LiveStreamPacketizers>			
			<Properties>
			<Property>
			<Name>sortPackets</Name>
			<Value>true</Value>
			<Type>Boolean</Type>
			</Property>
			<Property>
			<Name>sortBufferSize</Name>
			<Value>750</Value>
			<Type>Integer</Type>
			</Property>		
			</Properties>
		</Streams>
		<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>			
		<SharedObjects>
			<StorageDir></StorageDir>
		</SharedObjects>
		<Client>
			<IdleFrequency>-1</IdleFrequency>
			<Access>
				<StreamReadAccess>*</StreamReadAccess>
				<StreamWriteAccess>*</StreamWriteAccess>
				<StreamAudioSampleAccess></StreamAudioSampleAccess>
				<StreamVideoSampleAccess></StreamVideoSampleAccess>
				<SharedObjectReadAccess>*</SharedObjectReadAccess>
				<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
			</Access>
		</Client>
		<RTP>
			<!-- RTP/Authentication/Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
			<Authentication>
				<Method>none</Method>
			</Authentication>
			<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
			<AVSyncMethod>systemclock</AVSyncMethod>
			<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
			<Properties>
			<Property>
			<Name>rtpDePacketizerWrapper</Name>
			<Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperPacketSorter</Value>
			</Property>
			 <Property>
			  <Name>rtpDePacketizerPacketSorterBufferTime</Name>
			  <Value>1500</Value>
			  <Type>Integer</Type>
			 </Property>
			 <Property>
			  <Name>rtpDePacketizerPacketSorterFlushTime</Name>
			  <Value>30</Value>
			  <Type>Integer</Type>
			 </Property>
			 <Property>
			  <Name>rtpDePacketizerPacketSorterLogPacketLoss</Name>
			  <Value>true</Value>
			  <Type>Boolean</Type>
			 </Property>
			 </Properties>
		</RTP>

		<Repeater>
			<OriginURL>rtmp://xxxx.be</OriginURL>
		</Repeater> 

		<Modules>
			<Module>
				<Name>base</Name>
				<Description>Base</Description>
				<Class>com.wowza.wms.module.ModuleCore</Class>
			</Module>
			<Module>
				<Name>properties</Name>
				<Description>Properties</Description>
				<Class>com.wowza.wms.module.ModuleProperties</Class>
			</Module>
			<Module>
				<Name>logging</Name>
				<Description>Client Logging</Description>
				<Class>com.wowza.wms.module.ModuleClientLogging</Class>
			</Module>
			<Module>
				<Name>flvplayback</Name>
				<Description>FLVPlayback</Description>
				<Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
			</Module> 
		</Modules>
		<Properties>
			<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
			<!--
			<Property>
				<Name></Name>
				<Value></Value>
			</Property>
			-->
		</Properties>
	</Application>
</Root>

```

---

<div class="post-metadata">

**Author:** ![Hans\_Ketelbueters](https://avatars.discourse-cdn.com/v4/letter/h/d78d45/32.png) [@Hans\_Ketelbueters](https://community.wowza.com/u/Hans_Ketelbueters)\
**Post date:** [January 7, 2011, 3:35pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/37 "2011-01-07T15:35:49Z")

</div>

Yes positive: Wowza Media Server 2 Subscription 2.2.3 build26454

The origin that was defined in Application.xml is indeed running 2.2.0 but is not used in this testing setup.

---

<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:** [July 4, 2010, 2:22pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/38 "2010-07-04T14:22:27Z")

</div>

If you are using the developer edition of Wowza, there are time limits on live http streaming.

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:** [July 4, 2010, 4:52pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/39 "2010-07-04T16:52:40Z")

</div>

Same thing here. When I played it in Flash I noticed a hiccup at about the same point, I think it must be related. Is it a shoutcast stream?

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:** [July 4, 2010, 5:23pm UTC](https://community.wowza.com/t/addon-preview-of-flash-http-streaming-flash-http/98/40 "2010-07-04T17:23:27Z")

</div>

I get a freeze in exactly 30 seconds also in my test. I’ll let you know what I find out.

Richard

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

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