# How a client does know the Erizo Controller position?

**URL:** <https://discourse.lynckia.com/t/how-a-client-does-know-the-erizo-controller-position/205>\
**Category:** Uncategorized\
**Created:** [May 5, 2013, 10:57am UTC](https://discourse.lynckia.com/t/how-a-client-does-know-the-erizo-controller-position/205 "2013-05-05T10:57:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tajilso](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@Tajilso](https://discourse.lynckia.com/u/Tajilso)\
**Post date:** [May 5, 2013, 10:57am UTC](https://discourse.lynckia.com/t/how-a-client-does-know-the-erizo-controller-position/205/1 "2013-05-05T10:57:31Z")

</div>

My question is exactly this. To use a client, I have never setted any url  
except for the calls to the server. How the methods of Client-API do  
resolve the Erizo Controller position?

---

<div class="post-metadata">

**Author:** ![Tajilso](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@Tajilso](https://discourse.lynckia.com/u/Tajilso)\
**Post date:** [May 6, 2013, 9:48am UTC](https://discourse.lynckia.com/t/how-a-client-does-know-the-erizo-controller-position/205/2 "2013-05-06T09:48:25Z")

</div>

Thank you very much I have seen in the API code token.host :)Il giorno lunedì 6 maggio 2013 09:21:47 UTC+2, Hunter BMT ha scritto:

> The url of lynckia server is include on token ,which is generated when you  
> connected ( in basic example )
> 
> Vào 17:57:31 UTC+7 Chủ nhật, ngày 05 tháng năm năm 2013, Tajilso đã viết:
> 
> > My question is exactly this. To use a client, I have never setted any url  
> > except for the calls to the server. How the methods of Client-API do  
> > resolve the Erizo Controller position?

---

<div class="post-metadata">

**Author:** ![Alvaro\_Alonso3](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/alvaro_alonso3/32/31_2.png) [@Alvaro\_Alonso3](https://discourse.lynckia.com/u/Alvaro_Alonso3)\
**Post date:** [May 6, 2013, 9:48am UTC](https://discourse.lynckia.com/t/how-a-client-does-know-the-erizo-controller-position/205/3 "2013-05-06T09:48:32Z")

</div>

Exactly, when a new erizoController is added in the system (may be more  
than one) nuve knows it address. And when a client asks nuve for a token to  
connect to a room in the token is included the erizoController address.

Regards,  
Álvaro2013/5/6 Hunter BMT [hunterbmt@gmail.com](mailto:hunterbmt@gmail.com)

> The url of lynckia server is include on token ,which is generated when you  
> connected ( in basic example )
> 
> Vào 17:57:31 UTC+7 Chủ nhật, ngày 05 tháng năm năm 2013, Tajilso đã viết:
> 
> > My question is exactly this. To use a client, I have never setted any url  
> > except for the calls to the server. How the methods of Client-API do  
> > resolve the Erizo Controller position?
> 
> –  
> You received this message because you are subscribed to the Google Groups  
> “lynckia” group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

## –

Álvaro

---

<div class="post-metadata">

**Author:** ![Hunter\_BMT](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@Hunter\_BMT](https://discourse.lynckia.com/u/Hunter_BMT)\
**Post date:** [May 6, 2013, 7:21am UTC](https://discourse.lynckia.com/t/how-a-client-does-know-the-erizo-controller-position/205/4 "2013-05-06T07:21:47Z")

</div>

The url of lynckia server is include on token ,which is generated when you  
connected ( in basic example )

Vào 17:57:31 UTC+7 Chủ nhật, ngày 05 tháng năm năm 2013, Tajilso đã viết:\>

> My question is exactly this. To use a client, I have never setted any url  
> except for the calls to the server. How the methods of Client-API do  
> resolve the Erizo Controller position?
