Fixed the createMediaStreamSource javascript error.