moving temasys plugin's attachmediastream stuff to this module