Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayer 6, Wowza 3, HLS, Audio Streaming not working with flash


Hello,

I'm trying to stream audio using HLS, I can stream fine in VLC player and IOS but get errors when using JWPlayer. When I look at Wowza logs I am seeing JWPlayer Self-Hosted connect and a stream is created but it doesn't play. With JWPlayer Cloud-Hosted I see it create and play.

After working on this for a couple hours today I've given up for now. I'm hoping you guys have a solution or can help me troubleshoot.

*Test page:* http://www.cloudhome.com/audiostream.html

*JWPlayer 6 Self-Hosted Error:*
An ActionScript error has occurred:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.longtailvideo.jwplayer.media::AdaptiveProvider/_manifestHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.longtailvideo.adaptive::Adaptive/dispatchEvent()
at com.longtailvideo.adaptive::Adaptive/_manifestHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.longtailvideo.adaptive.streaming::ManifestLoader/_completeHandler()
at com.longtailvideo.adaptive.streaming::ManifestLoader/_parsePlaylist()
at com.longtailvideo.adaptive.parsing::Manifest/_loaderHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

*JWPlayer 6 Cloud-Hosted Error:*
An ActionScript error has occurred:
Error: Could not parse TS file: sync byte not found.
at com.longtailvideo.adaptive.muxing::TS/_readPacket()
at com.longtailvideo.adaptive.muxing::TS/readData()
at com.longtailvideo.adaptive.streaming::FragmentLoader/_segmentReadHandler()
at com.longtailvideo.adaptive.streaming::FragmentLoader/_segmentCompleteHandler()
at com.longtailvideo.adaptive.streaming::FragmentLoader/_progressHandler()


Thanks!,
-hdee

12 Community Answers

Ethan Feldman

JW Player Support Agent  
-1 rated :

Can you update the top 2 players to 6.4 as well ?

JW Player

User  
-1 rated :

Hi Ethan,

This link has the latest self-hosted jwplayer

http://stg.cloudhome.com/audiostream.html

Thanks,
-hdee

Ethan Feldman

JW Player Support Agent  
-1 rated :

Ok, I get the debug errors, can you please leave this up so we can investigate here ?

JW Player

User  
-1 rated :

Yes, I'll leave it up as long as you need. I'll try to check here as much as possible so if there's anything you need let me know.

Thanks,
-hdee

Ethan Feldman

JW Player Support Agent  
-1 rated :

Np, I will.

JeroenW

JW Player Support Agent  
1 rated :

JW6 HLS works with Wowza, but you have to set a config option on the Wowza side.

By default, Wowza streams “raw” MP3 or AAC, but JW6 only supports AAC/MP3 in TS packets. Changing this should be easy:

http://www.wowza.com/forums/content.php?458-How-to-configure-Wowza-Server-to-stream-audio-only-Apple-HLS-using-transport-stream

JW Player

User  
-1 rated :

Hi Jeroen,

Thanks for the tip. After adding this setting I don't see any flash errors anymore.

bc.. <HTTPStreamer>
<Properties>
<Property>
<Name>cupertinoPacketizeAllStreamsAsTS</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>
</Properties>
</HTTPStreamer>



It looks like there's no issue streaming m4a but mp3 streaming still doesn't work. I still see JWPlayer connect to Wowza and according to Wowza it's starting the stream but JWPlayer never starts playing audio.

I'm pretty much having same issue as this guy:
http://www.wowza.com/forums/showthread.php?18879-Some-MP3-files-won-t-stream-HLS-VOD

Also, just want to reaffirm, I can stream mp3 through wowza using VLC with no issue.

Any clues you could give me for why MP3 streaming isn't working would be greatly appreciated.

Thanks!,
-hdee

JeroenW

JW Player Support Agent  
-1 rated :

For MP3, this is likely exactly the same. Not sure if MP3 can be packed in TS though?

If it doesn’t work, can you provide us with a small test stream, e.g. an M3U8 playlist with 5 TS fragments? Send to support (at)…

JW Player

User  
-1 rated :

Hello Jeroen,

Your post was cut off, could you repost?

For MP3, Wowza gives me the option of using mp3: in url like so...

http://stream2.cloudhome.com/vods3/_definst_/mp3:amazons3/cld-dev-user-audio/74/test.mp3/playlist.m3u8

I can stream this fine on iphone but noticed now I can no longer stream in vlc for either format (probably since turning on cupertinoPacketizeAllStreamsAsTS).

I don't have any TS fragments since Wowza creates them dynamically.

Thanks,
-hd

JeroenW

JW Player Support Agent  
-1 rated :

I checked it out. Our MP3-only in HLS streaming is actually broken since 6.1 – something we had no test case for. We’ll fix this and add the test:

http://developer.longtailvideo.com/trac/ticket/1985

JW Player

User  
-1 rated :

Hi Guys,

I saw the ticket was updated, is there an ETA for when this fix will be added to jwplayer?

Thanks,
-hd

Ethan Feldman

JW Player Support Agent  
-1 rated :

It will be fixed for 6.5, due out in June (mid).

This question has received the maximum number of answers.