Avatar

Level 4

Sasha, just to be a bit more clear, I'm actually *assuming* that "lobbyView" is null when we don't expect it to be. Because when we do this:

1) lobbyView = null;

2) load the teacher UI, this fails to render to the coach; but the student sees the video stream / audio coming from the coach

When we comment out the lobbyView being set to null:

1) //lobbyView = null;

2) load the UI  -  renders to coach just fine...

Everything in our code references lobbyView as such:

if (lobbyView) {

     ... do stuff to lobbyView ...

}