webrtc / KITE

KITE is a test engine designed to test WebRTC interoperability across browsers
Apache License 2.0
468 stars 126 forks source link

Understanding of getPeerConnectionScript() #150

Closed anilkumarjonnalagadda closed 4 years ago

anilkumarjonnalagadda commented 4 years ago

Does the same method (getPeerConnectionScript()) helps you in saving peerConnectionObjects in windows.pc variable while working with a conferencing system developed on Kurento SFU

anilkumarjonnalagadda commented 4 years ago

hi @namvuCosmo

Can you please help here ?

Error is as follows: This is a bug and must be fixed. The exception must be caught and thrown as KiteTestException trace = org.openqa.selenium.JavascriptException: javascript error: APP is not defined

namvuCosmo commented 4 years ago

Hello,

This function doesn't save the peer connection object as windows.pc variable.

KITE is just using the existing variable for the peer connection object, exposed to browser console level, either it is window.pc, or something else. This depends on how the developers name it. image

This doesn't depend on the SFU either.

You can specify it in the config file, example for https://appr.tc: image