Skip to content

Commit

Permalink
Rework device profile building to be more accurate
Browse files Browse the repository at this point in the history
This addresses several issues with how device profile building was done:

  1. Devices were hard-coded, which did not account for the many
     different device profiles that may not be 1st party Google
     Chromecast™️ devices. This includes almost every Android TV with
     Cast functionality built-in.
  2. Different devices may have slightly different profile requirements,
     so even if an overall codec WAS correct, certain profiles may not
     be supported.
  3. Resolution constraints were being sent as a poor representation of
     of video codec profile and bit depth constraints. This change fixes
     this issue.
  4. This also improves the accuracy of the codec detection for less
     popular codecs like AV1.
  • Loading branch information
GodTamIt committed Jan 15, 2025
1 parent b8862e1 commit c151aea
Show file tree
Hide file tree
Showing 4 changed files with 668 additions and 265 deletions.
42 changes: 0 additions & 42 deletions src/components/castDevices.ts

This file was deleted.

Loading

0 comments on commit c151aea

Please sign in to comment.