wsStopMediaStream defined twice