RestComm / restcomm-web-sdk

RestComm WebRTC JavaScript SDK
http://www.restcomm.com/
GNU Affero General Public License v3.0
13 stars 32 forks source link

Enhance restcomm-test.py to recycle browser tabs instead of using the same #67

Closed atsakiridis closed 8 years ago

atsakiridis commented 8 years ago

Also make webrtc-client.html close the current tab once the call terminates. That will allow us to make sure there are no leaks in the browser/our code causing issues after some time of load testing

After a lot of back and fourth the logic is to just notify the restcomm-test tool from the webrtc web app (via Ajax HTTP) that the browser tab is about to close so that a new one can open by the tool. This gives us a robust way to maintain the pool of tabs, instead of changing the logic. Impacts:

For reference here are some of the issues encountered in previous iterations: