Question
How to stably know the status of streams?
I found that application.onUnpublish sometimes won't be called when a stream stops publishing:
application.onUnpublish = function(client,streamObj){
...
}
What's the more stable way to know the publishing status of a stream?
Related threads but with no solution:
