Switch media stream permissions to use IsOriginSecure() instead of