updating to better attachmediastream