Updated with recent W3C getusermedia spec changes
Workaround for Firefox stream availability quirk