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 

Sync Metadata

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



Joined: 15 Mar 2007
Posts: 7
Location: France

PostPosted: Fri Aug 29, 2008 2:32 pm    Post subject: Sync Metadata Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 29, 2008 4:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
musicmatic



Joined: 15 Mar 2007
Posts: 7
Location: France

PostPosted: Fri Aug 29, 2008 4:27 pm    Post subject: thanks answer Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Aug 29, 2008 8:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
musicmatic



Joined: 15 Mar 2007
Posts: 7
Location: France

PostPosted: Mon Sep 01, 2008 7:59 am    Post subject: Reply with quote

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
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Sep 01, 2008 3:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
musicmatic



Joined: 15 Mar 2007
Posts: 7
Location: France

PostPosted: Mon Sep 01, 2008 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server 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