Added support to check for UserMedia