Casting

Cast Tab

NOTE

Supported via Puppeteer and Selenium; not available via OttoMagic.

Examples

GPAL Fluent: High-level fluent C# API

//Casting is Puppeteer and Selenium only. It is driven through the browser's own media router, which the extension has no access to, so there is no MagicHelper call and nothing answers the route over REST. The ApiEndpoint entries exist because the Puppeteer client dispatches by endpoint name, not because a REST client can reach them.

browser.CastTab(string sinkName)

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.CastTab(string deviceNameOrId).Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.CastTab(string sinkName, string sessionId);

💬 Ask GPAL