| View previous topic :: View next topic |
| Author |
Message |
musicmatic
Joined: 15 Mar 2007 Posts: 7 Location: France
|
Posted: Fri Aug 29, 2008 2:32 pm Post subject: Sync Metadata |
|
|
Hello,
I'm builing a PHP proxy to log user realtime connet and disconnect for Icecast.
I works find when the client software don't send 'Icy-MetaData:1'.
When the player ask the metadata, icecast send 'icy-metaint:16000'.
The datas are in the stream and I have many gliches and drops in my winamp (also iTune or vlc), and lot of 'buffuring'
If I request directly with winamp to icecast, no problem.
When I analyse the TPC exchange, the both response seems the same.
Someone can help me ? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 29, 2008 4:13 pm Post subject: |
|
|
What exactly are you asking. If the player is disconnecting then you have to determine why from the player. If you think the 16000 value is the cause of the problem then try a lower value by using the mp3-metadata-interval setting.
You could use the listener_add/remove triggers to log listener details, it would save a lot of work done by the proxy.
karl. |
|
| Back to top |
|
 |
musicmatic
Joined: 15 Mar 2007 Posts: 7 Location: France
|
Posted: Fri Aug 29, 2008 4:27 pm Post subject: thanks answer |
|
|
Of cours, but I've some problems with flash and IE7 when content-length is null and I use icecast as relay.
So, I can't change the 16000 value I gues.
After more test, it seems come from when the payer try to display the title, it found some thin else, and when the title data arriving, it play it as audio.
It my last idee...
Thanks for help |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Aug 29, 2008 8:19 pm Post subject: |
|
|
The content-length bug in flash has nothing to do with the metadata inserts. afaik 2.3.2 resolves all reported flash issues with content length. Whether flash actually requests the inserts I don't know but I think it does not.
karl. |
|
| Back to top |
|
 |
musicmatic
Joined: 15 Mar 2007 Posts: 7 Location: France
|
Posted: Mon Sep 01, 2008 7:59 am Post subject: |
|
|
Yes, I know that flash don't need the metadate.
When there are no metadata in the stream, all the players are good (flash, WMP, iTunes, Wiamp, VLC).
But when the metadata are present, the player able to read it makes problems. And of cours, I would like to display title when it's possible.
@lex |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Sep 01, 2008 3:58 pm Post subject: |
|
|
The metadata still has to be requested, we don't send it unless it is. The reason for that is because the metadata breaks the mp3 spec, so the player has to be able to filter it out before decoding the content. with regard to icecast, non-ogg content like mp3 is not altered only metadata is inserted when requested. I'm still unsure what you think the problem is.
karl. |
|
| Back to top |
|
 |
musicmatic
Joined: 15 Mar 2007 Posts: 7 Location: France
|
Posted: Mon Sep 01, 2008 4:11 pm Post subject: |
|
|
That what I saw in the buffers. That's why I don't understant the reason of the sound problems. I think that the metadata are sended to the mp3 decoder. How the player know were found it?
@lex
PS: VLC is able to display the title, but the sound problem are still there. |
|
| Back to top |
|
 |
|