I'm having difficulties on switching screen sharing and the default camera. Switching calls thru opening and closing the current call to switch the streams(default camera and screen). Even though I override the close event every time I switch calls assuming that when close event is triggered, the call is already closed and thus I can open a call again, still it won't close as i predicted it would. This is a bit confusing to explain, but my problem is that I would like to open a new media connection after closing the current media connection properly.
I'm having difficulties on switching screen sharing and the default camera. Switching calls thru opening and closing the current call to switch the streams(default camera and screen). Even though I override the close event every time I switch calls assuming that when close event is triggered, the call is already closed and thus I can open a call again, still it won't close as i predicted it would. This is a bit confusing to explain, but my problem is that I would like to open a new media connection after closing the current media connection properly.