add options for attachmediastream module
Merge pull request #145 from xenyou/master

add options for attachmediastream module