browser based media sampling