AddOn preview of Flash HTTP streaming (Flash HTTP)

Yes, this was the case since originally I wanted to try out my live stream.

The VOD example works if I remove this.

However if I try out my live stream I get the following error in the OSMF player:

“URL missing from Media tag”

and the following output in the Wowza console:

INFO server comment - HTTPStreamerAdapterSanJoseStreaming.canHandle[LiveCasino/R
T_TABLE_HIGH/manifest.f4m]: true
INFO server comment - HTTPStreamerAdapterSanJoseStreaming.service: LiveCasino/RT
_TABLE_HIGH/manifest.f4m
INFO server comment - HTTPStreamerAdapterSanJoseStreaming.onPlaylist: sessionId:
 null
INFO sanjose connect 2079935040 -
INFO stream create RT_TABLE_HIGH -
...stops here for about 30 secs
INFO stream destroy RT_TABLE_HIGH -
INFO sanjose disconnect 2079935040 -

In parallel this stream is working with RTMP connection.

I am using the publisher Stream class with the playlist.

No its a different application using live-lowlatency stream type.

In which the rtsp live streams are started before with mediaCasterStreamManager and then put in a playlist with publish.Stream

And it also has LiveStreamPacketizers defined like this:

sanjosestreamingpacketizer

well I do not have the encoder so now for simpler example I used vlc to encode some stream from my iptv to a rtsp stream

and used rtplive stream type in wowza.

I’ve created a stream alias called “fuzbal.stream” in the contect dir pointing to my rtsp stream and then tried first with normal rtmp and rtsp which worked so my setup is OK.

Now I tried with OSMF player and got the following error in the player:

“Error #2032

and the following outup in wowza console:

INFO sanjose connect 2095535048 -
INFO stream create fuzbal.stream -
WARN server comment - HTTPStreamerAdapterSanJoseStreaming.getAppInstance: Stream
 not found [rtplive/fuzbal.stream/manifest.f4m]: fuzbal.stream
... 
INFO stream destroy fuzbal.stream -
INFO sanjose disconnect 2095535048 -

Ok now it works thanks !

But the stream freezes after about 30 sec. without any special message in the console. Just this:

INFO sanjose connect 1683933703 -
INFO stream create fuzbal.stream -
INFO stream play fuzbal.stream -
...here it plays fine
...and after about 30 sec...
INFO stream stop fuzbal.stream -
INFO stream destroy fuzbal.stream -
INFO sanjose disconnect 738227503 -

Is it possible that the player stops after 30 sec ?

I am usinf this player:

https://www.wowza.com/_demo/flashhttp/OSMFPlayer.html?url=http://184.72.239.149/vod/smil:bigbuckbunny.smil/manifest.f4m

Ok, live stream with rtplive now works.

But the latency in wowza is HUGE !! Arround 45 seconds.

This kinda kills my hopes to replace the choppy rtmp live streaming (with zero client buffer) with http streaming which can play smoothly with very low client buffer (0.3s). See this example:

http://mediapm.edgesuite.net/osmf/swf/ExamplePlayer.swf

Is there any chance to achieve the level of low-latency streaming with http streaming as currently with rtmp streaming (less than half a second) ?

could this be the problem why the flash stream isn’t showing?

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

Access-logfile looks like this:

2010-07-06      09:12:50        CEST    create  stream  INFO    200     -       -       _defaultVHost_  http    _definst_       0.0     [any]   1935    rtmp://wowzaip:1935/http  194.69.22.2    rtmp     rtmp://wowzaip:1935/http  FMLE/3.0 (compatible; FMSc/1.0) 277441940       22235195        4994    1       0       0       0       -       -       -       -       0       0.0     rtmp://wowzaip:1935/http  rtmp://wowzaip:1935/http  -       rtmp://wowzaip:1935/http  -
2010-07-06      09:12:50        CEST    publish stream  INFO    200     first   -       _defaultVHost_  http    _definst_       0.022   [any]   1935    rtmp://wowzaip:1935/http  194.69.22.2    rtmp     rtmp://wowzaip:1935/http  FMLE/3.0 (compatible; FMSc/1.0) 277441940       22235285        5035    1       0       0       0       first   videoKeyframeFrequency=5&totalDatarate=596     --       0       0.0     rtmp://wowzaip:1935/http/first?videoKeyframeFrequency=5&totalDatarate=596 rtmp://wowzaip:1935/http/first    videoKeyframeFrequency=5&totalDatarate=596     rtmp://wowzaip:1935/http   -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       RTPMediaCaster.resetConnection[1230704172:http/_definst_:first]:        -       -       -       339.956 -       -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       RTPMediaCaster.closeRTPSession[1230704172:http/_definst_:first] -       -       -       339.957 -       -       -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    unpublish       stream  INFO    200     first   -       _defaultVHost_  http    _definst_       12.41   -       -       -       -       -       -       -       -      --       27      0       0       0       first   -       -       -       0       0.0     /first  /first  -       -       -
2010-07-06      09:12:51        CEST    destroy stream  INFO    200     first   -       _defaultVHost_  http    _definst_       12.411  -       -       -       -       -       -       -       -       -      -27      0       0       0       first   -       -       -       0       0.0     /first  /first  -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[http/_definst_/first]: Destroy live stream packetizer: sanjosestreamingpacketizer    _defaultVHost_   http    _definst_       339.958 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -      --       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1230704172:http/_definst_:first]: start: 28  -       -       -       339.958 -       -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[http/_definst_/first]: chunkDurationTarget: 10000      -       -       -       340.043 -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[http/_definst_/first]: chunkDurationTolerance: 500     -       -       -       340.043 -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[http/_definst_/first]: audioGroupCount: 3      -       -       -       340.043 -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[http/_definst_/first]: playlistChunkCount:4    -       -       -       340.043 -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:first -       -       -      340.044  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       SanJosePacketHandler.startStream[http/_definst_/first]  -       -       -       340.044 -       -       -       -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.handlePacket: Video codec: H264     -       -       -       340.044 -       -       -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.handlePacket: Video info[http/_definst_/first]: {H264CodecConfigInfo: profile: "Baseline", level: 3.0, frameSize: 720x576, aspect: 1/1}     -       -       -       340.044 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -      --       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       RTPSessionDescriptionDataProviderBasic.getStreamInfo[http/_definst_]: /vol2/archieven/http/first        -       -       -      340.059  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    create  stream  INFO    200     -       -       _defaultVHost_  http    _definst_       0.0     -       -       -       -       -       -       -       -       -      -28      0       0       0       -       -       -       -       0       0.0     -       -       -       -       -
2010-07-06      09:12:51        CEST    publish stream  INFO    200     first   -       _defaultVHost_  http    _definst_       0.0010  -       80      null    127.0.0.1       rtsp    -       known   1609643901      0       0       28      0       0       0       first   -       -       -       0       0.0     /first  /first  -       null    -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1230704172:http/_definst_:first]: done: 28   -       -       -       340.06  -       -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.handlePacket: Audio codec: MP3      -       -       -       340.591 -       -       -       -      --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
2010-07-06      09:12:51        CEST    comment server  WARN    200     -       LiveStreamPacketizerSanJose.handleHolder: Invalid video/audio codec combination for iPhone/iPod: video:7 audio:2        -      --       340.591 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -      -

Any idea?

By the way, the demo flash files (two links) are not working. Tried it on two different computers. Is it just me?

Which links?

Richard

The two demo links in the client example player, included in the zip file. They dont seem to work either?

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

Not sure if that is why it fails to play, see my answer to Richard. Will upload a screenshot so you can see what happens.

edit:

Here is the screenshot: http://img291.imageshack.us/img291/7931/30146526.gif

It just seem to hang at that point. My own livestream, aswell as the demo links are giving the same result.

Tested it on two different computers, same result. Flash version is not the issue.

Charlie,

rrlanham or you mentioned that the http flash streaming module only works with AAC. Maybe that could be the problem. But I didnt get the demo working aswell!

The two demo’s are;

“Big Buck Bunny”

“Elephants Dream”

that aren’t working. Tested it on 3 machines with the latest flash plugin installed. Checked it on all machines with Opera, IE, Firefox, Chrome and Safari.

Oh btw; I`m testing the flash app with a livestream (not vod) , dont know if that matters …

Charlie,

I`m sorry for confusing you. What i meant to say is:

Big Buck Bunny and Elephants Dream is not working (I tested that).

And my “testing environtment” at the office is an environment where i use livestreaming.

So live as well as the Big Buck Bunny and Elephants Dream is not working.

I hope thats better :wink:

And the link that you gave, that is working properly :slight_smile: (I dont have a sound system connected to my pc at the office, but is there an mp3 audio stream in that example? or an AAC audio stream?) If there is no sound, then never mind :wink:

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.

Thanks

Alejandro

Alejandro can you help me a create my own monitoring system with graphs ?

I can’t get the HTTP streaming to work. I am using Wowza 2.1.1 Developer edition.

  • I can view the streams from the Wowza server through the OSMF player

  • I downloaded the sample files. Through the OSMF player, I can view the RTMP stream – rtmp://70.26.47.218:1935/sampleVids/mp4:bigbuckbunny_750.mp4

  • I cannot view the HTTP stream of the same file – http://70.26.47.218:1935/sampleVids/mp4:bigbuckbunny_750.mp4/manifest.f4m. I get error #2048, which I understand to be that it cannot find or interpret the file. Also, there is no log that the player is connecting and submitting the request for the file (ie the stream does not connect and a file is created)

  • through my own Flash player, a connection is made, the file is created, but the player does not play it. Wowza then destroys the file and disconnects. Again, RTMP stream works fine.

Any idea what is going on?

Terry

Charlie,

Thanks. I installed 2.1.2 which solved the problem for streaming to the OSMF player.

However, I still can’t get it to stream to my own Flash player. It

  • initiates the sanjose connection

  • creates the stream

  • destroys the stream

  • disconnects sanjose

Is there a security thing I am missing in Flash?

Terry

Hi Charlie,

I am using 2.1.2 with trial license and with the FlashHTTP.zip. When I tried simple VOD play on Dynamic Streaming, I get below error. (same stream works on rtmp), any idea?

WARN server comment - HTTPStreamerAdapterSanJoseStreaming.onPlaylist: Application context not loaded [vod/mp4:Extremists.m4v/manifest.f4m]: vod/definst

Thanks for your help!

Hi Richard,

I surely did, indeed, I modified only the RTP/Authentication/PlayMethod to “none” from the Application.xml provided in FlashHTTP.zip.

When I open the URL:

http://localhost:1935/vod/mp4:Extremists.m4v/manifest.f4m

at the browser, instead of getthing the expected XML, I got nothing and I have that error I mentioned.

INFO vhost vhost-start defaultVHost -

INFO server comment - defaultVHost threads[h/t]:120/80 home:C:\Program Files\W

owza Media Systems\Wowza Media Server 2.1.2

INFO vhost comment defaultVHost Bind attempt ([any]:1935:4)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

INFO vhost comment defaultVHost Bind attempt ([any]:8086:1)

INFO vhost comment defaultVHost Bind successful ([any]:8086)

INFO application app-start definst vod/definst

WARN server comment - HTTPStreamerAdapterSanJoseStreaming.onPlaylist: Applicatio

n context not loaded [vod/mp4:Extremists.m4v/manifest.f4m]: vod/definst

Oh, excellent~!

I didn’t look at

/conf/vod/Application.xml

Only at applications/vod/Application.xml

It works now, cheers~!

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.

no use :frowning: