-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Detect maximum HW resolution automatically on some platforms (#…
- Loading branch information
Showing
11 changed files
with
314 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*! @license | ||
* Shaka Player | ||
* Copyright 2016 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @fileoverview Externs for Hisense | ||
* | ||
* @externs | ||
*/ | ||
|
||
/** | ||
* @return {boolean} | ||
*/ | ||
window.Hisense_Get4KSupportState = function() {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/*! @license | ||
* Shaka Player | ||
* Copyright 2016 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @fileoverview Externs for PlayStation | ||
* | ||
* @externs | ||
*/ | ||
|
||
|
||
/** @const */ | ||
var msdk = {}; | ||
|
||
|
||
/** @const */ | ||
msdk.device = {}; | ||
|
||
|
||
/** | ||
* @return {!Promise.<{resolution: string}>} | ||
*/ | ||
msdk.device.getDisplayInfo = function() {}; | ||
|
||
|
||
/** | ||
* @return {!Promise.<{resolution: string}>} | ||
*/ | ||
msdk.device.getDisplayInfoImmediate = function() {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*! @license | ||
* Shaka Player | ||
* Copyright 2016 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @fileoverview Externs for Tizen | ||
* @externs | ||
*/ | ||
|
||
|
||
/** @const */ | ||
var webapis = {}; | ||
|
||
|
||
/** @const */ | ||
webapis.systeminfo = {}; | ||
|
||
|
||
/** | ||
* @return {{width: number, height: number}} | ||
*/ | ||
webapis.systeminfo.getMaxVideoResolution = function() {}; | ||
|
||
|
||
/** @const */ | ||
webapis.productinfo = {}; | ||
|
||
|
||
/** | ||
* @return {boolean} | ||
*/ | ||
webapis.productinfo.is8KPanelSupported = function() {}; | ||
|
||
|
||
/** | ||
* @return {boolean} | ||
*/ | ||
webapis.productinfo.isUdPanelSupported = function() {}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/*! @license | ||
* Shaka Player | ||
* Copyright 2016 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @fileoverview Externs for WebOS | ||
* | ||
* @externs | ||
*/ | ||
|
||
|
||
/** @const */ | ||
var PalmSystem = {}; | ||
|
||
|
||
/** @type {string} */ | ||
PalmSystem.deviceInfo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*! @license | ||
* Shaka Player | ||
* Copyright 2016 Google LLC | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* @fileoverview Externs for Xbox | ||
* | ||
* @externs | ||
*/ | ||
|
||
|
||
/** @const */ | ||
var Windows = {}; | ||
|
||
|
||
/** @const */ | ||
Windows.Media = {}; | ||
|
||
|
||
/** @const */ | ||
Windows.Media.Protection = {}; | ||
|
||
|
||
/** @const */ | ||
Windows.Media.Protection.ProtectionCapabilities = class { | ||
/** | ||
* @param {string} type | ||
* @param {string} keySystem | ||
* @return {!Windows.Media.Protection.ProtectionCapabilityResult} | ||
*/ | ||
isTypeSupported(type, keySystem) {} | ||
}; | ||
|
||
/** | ||
* @enum {string} | ||
*/ | ||
Windows.Media.Protection.ProtectionCapabilityResult = { | ||
notSupported: 'NotSupported', | ||
maybe: 'Maybe', | ||
probably: 'Probably', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.