Revert "added optional media constraints"; that's for a different branch

This reverts commit b0789b72ddf57075da7771dd2cf3a51646e6fba4.