ant-media/Ant-Media-Server

Stream is stopped on Origin Node but Edge Node does not stop the streams immediately

mekya opened this issue · 1 comments

mekya commented

Sometimes edge does not stop its webrtc viewer clients or sometimes it stops after 10-15 seconds.

Steps to Produce

  1. Publish stream to Origin
  2. Play stream on Edge with webrtctest tool
  3. Stop stream on Origin

Expected

Edge should immediately stop all webrtc viewers and disconnect from origin

Actual

Edge-Origin connection is still alive and Edge does not stop its webrtc viewers

I am getting this issue now. Exactly the same thing. Edge stops after 10-15 seconds, one time out of every 3 approximately. The other 2 times it stops immediately at the same time as Origin.

(This is approximate and random... it might do it 2 times in a row and then 5 times it works.)