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 with or without authentication

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



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Wed Dec 30, 2009 11:46 pm    Post subject: Relay with or without authentication Reply with quote

Can I relay in one of these two methods?

Stream A (feed) with an added mountpoint named X is picked up by a relay sever B on mountpoint x ...and an URL Authentication mount added to x

OR

Stream A (feed) has an URL authentication mount "p" with another unauthenticated mountpoint "q" ...and "q" is picked up by a relay server B which will have an URL Authentication mountpoint added

I'm trying to do this without success. Thanks for your help!

Eric
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Dec 31, 2009 12:23 am    Post subject: Reply with quote

From the description, this does not sound difficult.

First, server A stream X has no auth but server B relays it and defines for auth on the mountpoint.
Second, server A stream p has url auth, relay q (reads p) has no auth, server B relays q, the relayed q has url auth on it.

The relay on server B can pass details to server A for auth, whether it be defined via <username> <password> in <relay> or query args in <mount> eg <mount>/q?getmecontent=now</mount>, maybe the IP is sufficient. The url auth script can be as selective as you want.

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



Joined: 30 Dec 2009
Posts: 10
Location: Toronto, ON, Canada

PostPosted: Fri Jan 01, 2010 1:25 am    Post subject: URL Auth and Relay Reply with quote

Thanks Karl.

If my source mountpoint "A" has URL Authentication, should I create another mountpoint to relay to the next server...or can I use the same mountpoint "A".
Back to top
View user's profile Send private message Send e-mail Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 01, 2010 3:48 am    Post subject: Reply with quote

You can use the same mountpoint, as long as the relay connection passes auth.

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