Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MP3 streaming with jPlayer

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients
View previous topic :: View next topic  
Author Message
Murrawhip



Joined: 21 Dec 2010
Posts: 58

PostPosted: Wed Jul 03, 2013 6:16 am    Post subject: MP3 streaming with jPlayer Reply with quote

Hi,

Has anyone had any luck getting jPlayer working with Karl's .flv mod?
I aim to use HTML5 for playing the plain MP3 stream, and falling back to flash with the .flv mod to avoid the flash memory leak.

When trying to play the flv MP3, jplayer plays a split second of the audio then stops. (In at least IE, Chrome and FF)
Back to top
View user's profile Send private message Visit poster's website
Murrawhip



Joined: 21 Dec 2010
Posts: 58

PostPosted: Thu Apr 10, 2014 5:02 pm    Post subject: Reply with quote

Bumpy bump bump.
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Apr 12, 2014 9:33 am    Post subject: Reply with quote

no idea there was a problem. If the icecast error log is not showing any issue then there is obviously something the player is expecting. Is it sending a range request?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Murrawhip



Joined: 21 Dec 2010
Posts: 58

PostPosted: Wed Feb 04, 2015 4:13 am    Post subject: Reply with quote

See their example here: http://jsfiddle.net/jPlayer/XLNCY/
API is here: http://jplayer.org/latest/developer-guide

It works fine with mp3 but doesn't seem to like ?type=.flv
- it seems to want a .fla instead?

P.S. Set 'solution' in the constructor to 'flash' to force flash.
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Feb 04, 2015 11:33 pm    Post subject: Reply with quote

I can add .fla as another type for switching on the FLV wrapper if you think that will make it work. I haven't tried it personally but I've committed the update to github. What is unclear is if some setting is required in the FLV header for it as well. checkout the master first.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber