Casting

Stop Casting

Stops the active cast session previously started via cast-tab or cast-desktop.

NOTE

Supported via Puppeteer; 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.StopCasting();

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.StopCasting().Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.StopCasting(sessionId);

💬 Ask GPAL