Flashphoner WebSDK, auto reconnect (Vue.js webapp)

Hello

-Version: 5.2.780 (Amazon AWS)
-WebSDK is 2.0.170


I am building a vue.js webapp and was wondering, if there is the possibility in the websdk to specify that if the connection to the websocket is lost, an instant (infinite retry count, interval 10s) reconnect should be triggered (same websocket and stream name as before9 followed by an auto-play?


Best,
Thomas
 

Max

Administrator
Staff member
Good day.
Please look at this code example. It shows how to implement stream re-playing automatically in the same websocket session. So websocket reconnection can be made the same way.
 
Top