<% if (roomOptions.group){ %>
<% if(connection.rstream) { %>
<% } %>
<% }else {%>
<% if (userData.image){ %>
<% }else{ %>
<% } %>
<% if (hasWebrtc && roomOptions.file){ %>
<% }
if(!videoId || videoId == id){ %>
<% if(!roomOptions.roulette && status == 'idle'){ %>
<% if(!roomOptions.disableVideo && hasWebrtc){ %>
<% if(selfLoginParams.hasVideoDevice){ %>
<% } %>
<% if(roomOptions.desktopShare){ %>
<% } %>
<% } %>
<% if(!roomOptions.disableAudio && hasWebrtc && selfLoginParams.hasAudioDevice){ %>
<% }
}
if(!roomOptions.roulette && status == 'call_invited'){ %>
Ringing...
<% }
if(!roomOptions.roulette && status == 'call_inviting'){ %>
Calling...
<% }
if(!roomOptions.roulette && $.inArray(status,['call','sdp_answered','sdp_answering','sdp_offered','sdp_offering','call_accepted','call_accepting']) >= 0){%>
<% print($.fn.mgVideoChat._('In call')); %>
<% }
if(unread){%>
<%=unread%>
<% } %>
<% } %>
<% } %>