Enabling API access for remote streaming