mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-14 15:56:38 +03:00
ec4bc1ddeb
These changes are necessary for compatibility with Chromecast WebDriver Server v2. - Fix a bug in Karma's flat environment support (joeyparrish/karma@9875e98) - Add a test boot file to load CAF on Chromecast devices; required by Chromecast WebDriver Server v2's redirect mode (flat environment at that level) - Also load this cast-boot file in support.html - Rename/reorganize Cast-related externs, which were messy even before the addition of CAF - Remove proxy-cast-platform.js; no longer needed as we move to flatten the test environment - Ignore error events with "null" error; these appear on Linux Chromecasts, only since including CAF - Ignore error events that are actually strings; these appear on Linux Chromecasts, only since including CAF - Disable Fuchsia in the lab until autoplay issues can be resolved
36 lines
731 B
JavaScript
36 lines
731 B
JavaScript
/*! @license
|
|
* Shaka Player
|
|
* Copyright 2024 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Externs for the limited subset of the Cast Application
|
|
* Framework (Receiver SDK v3) that we use in our test infrastructure.
|
|
*
|
|
* @externs
|
|
*/
|
|
|
|
/** @const */
|
|
cast.framework = {};
|
|
|
|
/**
|
|
* @typedef {{
|
|
* statusText: string,
|
|
* disableIdleTimeout: boolean,
|
|
* skipPlayersLoad: boolean
|
|
* }}
|
|
*/
|
|
cast.framework.CastReceiverOptions;
|
|
|
|
cast.framework.CastReceiverContext = class {
|
|
/** @return {!cast.framework.CastReceiverContext} */
|
|
static getInstance() {}
|
|
|
|
/**
|
|
* @param {!cast.framework.CastReceiverOptions} options
|
|
* @return {!cast.framework.CastReceiverContext}
|
|
*/
|
|
start(options) {}
|
|
};
|