# localStream connect licode server automatically when localStream lost connection with others

**URL:** <https://discourse.lynckia.com/t/localstream-connect-licode-server-automatically-when-localstream-lost-connection-with-others/33>\
**Category:** Uncategorized\
**Created:** [March 24, 2015, 2:47pm UTC](https://discourse.lynckia.com/t/localstream-connect-licode-server-automatically-when-localstream-lost-connection-with-others/33 "2015-03-24T14:47:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiliuxjtu2013](https://avatars.discourse-cdn.com/v4/letter/x/c57346/32.png) [@xiliuxjtu2013](https://discourse.lynckia.com/u/xiliuxjtu2013)\
**Post date:** [March 24, 2015, 2:47pm UTC](https://discourse.lynckia.com/t/localstream-connect-licode-server-automatically-when-localstream-lost-connection-with-others/33/1 "2015-03-24T14:47:12Z")

</div>

hi all,  
in my project,for example ,there are three client stream(A,B,C) in a  
room,there have two problem sometimes:

(1)A,B,C stream published ,and A,B,C client subscribe  
[http://lynckia.com/licode/client-api.html#subscribeStream](http://lynckia.com/licode/client-api.html#subscribeStream) other two  
stream and show. but in B,C client show A stream with a blank window ,and  
without audio and video. in A client show B,C stream normally. why?and how  
to solve this problem?

(2)sometimes A client lost B,C stream suddenly，and B,C client also lost A  
stream. at this time A client’s room.addEventListener(“room-disconnected”)  
not run. why? and how can A client connect licode server and  
publish,subscribe automatically ?

thanks!!
