ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.

Home Page:https://antmedia.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mekya opened this issue · comments

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.)