multi party media stream and detect close event