Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Info Requirements #141

Open
wants to merge 6 commits into
base: next
Choose a base branch
from
Open

Media Info Requirements #141

wants to merge 6 commits into from

Conversation

jlacivita
Copy link
Contributor

@jlacivita jlacivita commented Jun 22, 2023

Adds a variety of methods so apps can get the capabilities of the device and its peripherals before attempting to play media.

New modules:

MediaCapabilities

For querying the capabilities of the entire AV system (including the device, display, and soundbar/AV receiver).

  • audioCodecs: The supported audio codecs, e.g. [aac, ac3, ac4, eac3]
  • videoCodecs: The supported video codecs, e.g. [av1, avc, hevc]
  • atmosSupported: Check whether Atmos is supported
  • colorDepth: The maximum supported color depth, e.g. 10
  • hdrFormats: The supported HDR formats, e.g. [hdr10, hdr10plus, hlg]
  • preferredVideoMode: The best-supported video output mode, e.g. 1080p60

Display

For querying the capabilities of the display panel

  • colorimetry: The supported colorimetry values from the display, e.g. [BT2020RGB, BT2020YCC]
  • nativeResolution: The display's advertised native resolution, e.g. {width: 1920, height: 1080}
  • size: The physical width and height of the display (in centimeters), e.g. {width: 157, height: 91}
  • videoModes: The supported video modes of the display, e.g. [1080p50, 1080p60]

AudioOutput

For accessing the device's audio output system

  • mode: The current audio output mode setting of the device, e.g. auto
  • status: The current audio output status, e.g. {mode: "stereo"}

VideoOutput

For accessing the device's video output system

  • status: The current video output status, e.g. {colorDepth: 10, hdrFormat: "hdr10", mode: 1080p60"}
  • onModeWillChange: An event that fires when the device's video output mode changes but before it takes effect

Deprecated Methods

  • Device.hdr: Team decided to deprecate booleanMap methods; superceded by MediaCapabilities.hdrFormats
  • Device.screenResolution: The web screen/graphical resolution; apps can get their current screen/window size using standard web or wayland APIs
  • Device.videoResolution: The maximum supported video resolution; removed in favor of the more descriptive MediaCapabilities.preferredVideoMode

@jlacivita jlacivita marked this pull request as draft June 22, 2023 17:34
@jlacivita jlacivita changed the title First pass at requirements Media Info Requirements Jun 22, 2023
@jlacivita jlacivita mentioned this pull request Jun 30, 2023
src/openrpc/media_info.json Outdated Show resolved Hide resolved
src/openrpc/media_info.json Outdated Show resolved Hide resolved
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Jul 19, 2024
Copy link

github-actions bot commented Oct 1, 2024

MFOS standalone sanity report - CORE,MANAGE,DISCOVERY:
Total Passes - 498 Failures - 0 Pending - 0 Skipped - 28
Report JSON/HTML Files: https://github.com/rdkcentral/firebolt-apis/suites/29076451507/artifacts/2001595791
Job Logs: https://github.com/rdkcentral/firebolt-apis/actions/runs/11128695697

@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@rdkcentral rdkcentral deleted a comment from github-actions bot Oct 1, 2024
@alkalinecoffee alkalinecoffee marked this pull request as ready for review October 2, 2024 16:04
Copy link

github-actions bot commented Oct 2, 2024

MFOS standalone sanity report - CORE,MANAGE,DISCOVERY:
Total Passes - 498 Failures - 25 Pending - 0 Skipped - 28
Report JSON/HTML Files: https://github.com/rdkcentral/firebolt-apis/suites/29127556241/artifacts/2006986710
Job Logs: https://github.com/rdkcentral/firebolt-apis/actions/runs/11147868660

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants