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 

Relay works without metadata

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



Joined: 29 Jul 2009
Posts: 27

PostPosted: Tue Dec 28, 2010 12:51 am    Post subject: Relay works without metadata Reply with quote

Im using "Specific Mountpoint Relay", and relay works, but without metadata. Both servers are Icecast. Ive searched forum, google, icecast documentation, and havent found anything that can help me to solve my problem. Thanks!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Dec 28, 2010 1:27 am    Post subject: Reply with quote

you need to determine if metadata inserts are disabled at the master and whether there is metadata. Those are the only reasons why metadata will not be transferred to the slave. Check the logs as well.

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



Joined: 29 Jul 2009
Posts: 27

PostPosted: Tue Dec 28, 2010 10:46 am    Post subject: Reply with quote

karlH wrote:
you need to determine if metadata inserts are disabled at the master and whether there is metadata. Those are the only reasons why metadata will not be transferred to the slave. Check the logs as well.

karl.

there is metadata, i can see it on status page of the relayed server. how can i check are the meta data inserts disablad? also, does server needs to be public or not? also, where can i change the update period of 120s.
ive set that relay with the next settings, on my main server

<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>

ofc, ive entered correct ip ,port, and mount point data i my config Wink.

it works, but cannot se metadata on the relaying server.

thanks karl!
Back to top
View user's profile Send private message
PsYhO



Joined: 29 Jul 2009
Posts: 27

PostPosted: Tue Dec 28, 2010 11:18 am    Post subject: Reply with quote

<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
this tag solved my problem!
i havent used it, 'cos i taught that it should only be used when using shoutcast Smile. but ok, it works now! thanks karl! Wink


please tell me, on what server and where should i change "timeout" period of 120s. because , if i restart relayed server, it will be down for 2minutes on the main server, and after that will continue being relayed.
thanks!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Dec 28, 2010 4:18 pm    Post subject: Reply with quote

the tag is named for requesting the metadata inserts that shoutcast defined a long time ago, icecast maintains that because it fits with what many players expect.

The default <master-update-interval> setting of 120 is what you want to change.

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



Joined: 29 Jul 2009
Posts: 27

PostPosted: Wed Dec 29, 2010 10:24 am    Post subject: Reply with quote

its working! thanks karl!
one more thing, is it ok to set that interval to 10s or less? if i make it to update more often, does it take more resources, or its the same? thanks Smile!
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Dec 29, 2010 12:58 pm    Post subject: Reply with quote

it won't take more resources, it just increases the polling frequency, so a minor increase in bandwidth and some minor work on the servers involved.

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 -> 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