correct sessionstorage in media-capture