demo/cast_receiver/receiver_app.js
function ShakaReceiver() {
  /** @private {HTMLMediaElement} */
  this.video_ = null;

  /** @private {shaka.Player} */
  this.player_ = null;

  /** @private {shaka.cast.CastReceiver} */
  this.receiver_ = null;

  /** @private {Element} */
  this.controlsElement_ = null;

  /** @private {?number} */
  this.controlsTimerId_ = null;

  /** @private {Element} */
  this.idle_ = null;

  /** @private {?number} */
  this.idleTimerId_ = null;

  /**
   * In seconds.
   * @const
   * @private {number}
   */
  this.idleTimeout_ = 300;
}
function ShakaReceiver() {
  /** @private {HTMLMediaElement} */
  this.video_ = null;

  /** @private {shaka.Player} */
  this.player_ = null;

  /** @private {shaka.cast.CastReceiver} */
  this.receiver_ = null;

  /** @private {Element} */
  this.controlsElement_ = null;

  /** @private {?number} */
  this.controlsTimerId_ = null;

  /** @private {Element} */
  this.idle_ = null;

  /** @private {?number} */
  this.idleTimerId_ = null;

  /**
   * In seconds.
   * @const
   * @private {number}
   */
  this.idleTimeout_ = 300;
}
function ShakaReceiver ( ) { /** @private {HTMLMediaElement} */ this . video_ = null ; /** @private {shaka.Player} */ this . player_ = null ; /** @private {shaka.cast.CastReceiver} */ this . receiver_ = null ; /** @private {Element} */ this . controlsElement_ = null ; /** @private {?number} */ this . controlsTimerId_ = null ; /** @private {Element} */ this . idle_ = null ; /** @private {?number} */ this . idleTimerId_ = null ; /**
   * In seconds.
   * @const
   * @private {number}
   */ this . idleTimeout_ = 300 ; }
A Chromecast receiver demo app.
@constructor
@suppress {missingProvide}
A Chromecast receiver demo app .