Jump to content
  • 0

No Reconnection logic


Deepinder Singh
 Share

Question

When using the live streaming, even if the internet fluctuates for 3-4 seconds, the stream is closed and never tries to reconnect, shouldn't there be a reconnection logic which waits for reconnection for 20 seconds or so? Can you guide on how to achieve that if you won't be building that?
Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
Javascript, Web, please guide me how to implement it.

On Saturday, April 4, 2020 at 3:30:40 PM UTC+5:30, mahmut asım Onat wrote:
Hi,

We don't have a reconnection on Ant Media Server but it can be implemented. On which platform are you trying to implement this functionality?

Best,
Asim
Link to comment
Share on other sites

  • 0
But the server would already cut the call and publish stream end event.

On Monday, April 6, 2020 at 7:21:49 PM UTC+5:30, mahmut asım Onat wrote:
Hi,

You need to put an event listener on iceConnectionState(streamId). After it changes the state to disconnected you may connect again.
I've found this link where it explains the values that it takes.

Best,
Asim
Link to comment
Share on other sites

 Share

×
×
  • Create New...