Question
how to close correctly?
i have application that i'm the administrator make connection
and publish stream
and few (the members) are also make connection to me and play stream
i want sometimes to close their connection
i close their stream and connection
by simple code:
ns.close()
nc.close()
the connection indeed closed
but in the communication app inspector
i notice that their stream still remain
and changed to type idle and also the event applicatin.disconnected
in the asc file didn't occured
when the user by himself close the web page
or go to another web page
the stream disappeard from the communication app inspector
and also the event applicatin.disconnected happened
what is the way that i should close the member connection
so the stream will disappear from the communication app inspector
and not be idle and also the event applicatin.disconnected will happen
and few (the members) are also make connection to me and play stream
i want sometimes to close their connection
i close their stream and connection
by simple code:
ns.close()
nc.close()
the connection indeed closed
but in the communication app inspector
i notice that their stream still remain
and changed to type idle and also the event applicatin.disconnected
in the asc file didn't occured
when the user by himself close the web page
or go to another web page
the stream disappeard from the communication app inspector
and also the event applicatin.disconnected happened
what is the way that i should close the member connection
so the stream will disappear from the communication app inspector
and not be idle and also the event applicatin.disconnected will happen
