View previous topic :: View next topic |
Author |
Message |
luca066
Joined: 01 Dec 2011 Posts: 42
|
Posted: Fri Feb 17, 2012 11:48 pm Post subject: HTML5 audio TAG & AACPLUS |
|
|
Hi Karl,
I'm trying to listen to an aacplus stream using iOS Safari Mobile browser.
I use the audio html5 tag and it doesn't work with aacplus streams.
With mp3 streams it works great.
Safari Mobile has got the capability to play aacplus live stream (if I use a shoutcast server with the same stream the browser plays the audio).
Do you have any idea about it?
I use this html code:
<audio id="mystream" src="http://myserver:8080/mount" ></audio>
I've tried this code too:
<audio id="mystream" src="http://myserver:8080/mount" type="audio/mp4; codecs=mp4a.40.5" ></audio>
I've tried with Icecast 2.3.2-kh31.4 and Icecast 2.3.2-POST.
Thanks for your answer
Luca |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Feb 18, 2012 1:21 am Post subject: |
|
|
It's usually next to impossible to determine why an application I don't develop fails to playback a stream. My initial guess would be either a missing extension on the mountpoint or the content type is not as expected eg should be audio/aac or audio/aacp
karl. |
|
Back to top |
|
|
davect99
Joined: 04 Oct 2010 Posts: 44
|
|
Back to top |
|
|
luca066
Joined: 01 Dec 2011 Posts: 42
|
Posted: Mon Feb 20, 2012 11:24 am Post subject: |
|
|
Hi Dave,
Safari on iOS (including iPad) currently supports uncompressed WAV and AIF audio, MP3 audio, and AAC-LC or HE-AAC audio. HE-AAC is the preferred format.
It works with http streaming (icecast and shoutcast).
It was a problem related to the mime type.
thanks to Karl.
Luca |
|
Back to top |
|
|
davect99
Joined: 04 Oct 2010 Posts: 44
|
Posted: Wed Feb 22, 2012 3:59 pm Post subject: |
|
|
luca066 wrote: |
Safari on iOS (including iPad) currently supports uncompressed WAV and AIF audio, MP3 audio, and AAC-LC or HE-AAC audio. HE-AAC is the preferred format.
It works with http streaming (icecast and shoutcast).
It was a problem related to the mime type. |
Now, if the other browsers would do this we'd be all set! |
|
Back to top |
|
|
cruxial
Joined: 10 Jan 2012 Posts: 3
|
Posted: Wed Mar 14, 2012 10:35 pm Post subject: |
|
|
Which MIME type did you eventually use? I've got a similar issue with the iPhone and aacplus stream. I can get the iPhone to stream aacplus but it will cut-off for about 1-2 secs every 3-5 mins repeatedly. What makes this issue more strange is that it only occurs when connected to a mobile network (3G) however does not render this problem when connected to WIFI and works great. |
|
Back to top |
|
|
luca066
Joined: 01 Dec 2011 Posts: 42
|
Posted: Sun Mar 18, 2012 10:25 pm Post subject: |
|
|
Probably you have a prolem with the bandwidth available to your cell phone, it's not a problem related to the mime type. |
|
Back to top |
|
|
hariom
Joined: 18 Dec 2012 Posts: 1
|
Posted: Wed Dec 19, 2012 5:17 am Post subject: |
|
|
@luca066
Did you test the aac streaming from icecast server over the chrome browser or any other browser except safari using HTML5 audio tag. |
|
Back to top |
|
|
luca066
Joined: 01 Dec 2011 Posts: 42
|
|
Back to top |
|
|
|