hyuk
Member
Hi,
We are currently experiencing challenges in our Flashphoner implementation, specifically during video streaming using the Room API. When transitioning from LTE to WiFi, a connection timeout issue occurs, and the error message "The operation couldn't be completed, operation timed out" appears roughly 30 seconds after the network switch.
In an attempt to address this issue, we've made some adjustments to the WebSocket ping mechanism in our code, as outlined below:
flashphoner.js
var wsPingSender = new WSPingSender(options.pingInterval || 5000);
var wsPingReceiver = new WSPingReceiver(options.receiveProbes || 5000, options.probesInterval || 5000);
Despite these modifications, we're still encountering delays in detecting network transitions and experiencing timeouts during the network switch.
Inquiry:
We have adjusted the ping and probes intervals for better responsiveness during network transitions. However, we are still observing delayed timeouts during network switching. Could you please provide guidance on additional measures or settings to promptly detect changes in network state and handle connection issues?
Any insights or assistance you can offer would be greatly appreciated.
Thank you for your attention to this matter.
( The problem only occurs on iPhone. )
We are currently experiencing challenges in our Flashphoner implementation, specifically during video streaming using the Room API. When transitioning from LTE to WiFi, a connection timeout issue occurs, and the error message "The operation couldn't be completed, operation timed out" appears roughly 30 seconds after the network switch.
In an attempt to address this issue, we've made some adjustments to the WebSocket ping mechanism in our code, as outlined below:
flashphoner.js
var wsPingSender = new WSPingSender(options.pingInterval || 5000);
var wsPingReceiver = new WSPingReceiver(options.receiveProbes || 5000, options.probesInterval || 5000);
Despite these modifications, we're still encountering delays in detecting network transitions and experiencing timeouts during the network switch.
Inquiry:
We have adjusted the ping and probes intervals for better responsiveness during network transitions. However, we are still observing delayed timeouts during network switching. Could you please provide guidance on additional measures or settings to promptly detect changes in network state and handle connection issues?
Any insights or assistance you can offer would be greatly appreciated.
Thank you for your attention to this matter.
( The problem only occurs on iPhone. )
Last edited: