@theoplayer/extended 9.9.0 → 9.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2761,6 +2761,39 @@ interface RetryConfiguration {
2761
2761
  maximumBackoff?: number;
2762
2762
  }
2763
2763
 
2764
+ /**
2765
+ * The values that can be set to define hardware resources on Sony PlayStation® 5.
2766
+ */
2767
+ type PlayStation5PlayMode = '2K' | '4K';
2768
+ /**
2769
+ * Describes the configuration that is specific for playback on Sony PlayStation® 5.
2770
+ */
2771
+ interface PlayStation5Configuration {
2772
+ /**
2773
+ * Used to define hardware resources when playing multiple videos at the same time. The PlayStation® 5 supports playing a single video up to 4K
2774
+ * at 60fps, or two videos with a combined resolution up to 4K at 30fps.
2775
+ *
2776
+ * - When playing a single video, this can be omitted (or set to `'4K'`).
2777
+ * - When playing two videos, this can be set to `'4K'` if the combined resolution is less than 4K. Otherwise, one or both videos must be
2778
+ * set to `'2K'`.
2779
+ * - When playing three or more videos, this must be set to `'2K'`.
2780
+ *
2781
+ * Default: `'4K'`
2782
+ */
2783
+ playMode?: PlayStation5PlayMode;
2784
+ /**
2785
+ * Indicates if audio pass-through is enabled.
2786
+ *
2787
+ * In pass-through mode, the PlayStation® 5 will forward the compressed audio as-is to the A/V receiver for playback.
2788
+ *
2789
+ * This mode is only supported when there is only a single video player on the page. When there can be multiple video players at the same time,
2790
+ * this value must be set to false, so the PlayStation® can decompress and mix the audio before sending it to the A/V receiver.
2791
+ *
2792
+ * Default: `true`
2793
+ */
2794
+ passThrough?: boolean;
2795
+ }
2796
+
2764
2797
  /**
2765
2798
  * Describes a player's configuration.
2766
2799
  *
@@ -2919,6 +2952,10 @@ interface PlayerConfiguration {
2919
2952
  * The THEOlive configuration for the player.
2920
2953
  */
2921
2954
  theoLive?: TheoLiveConfiguration;
2955
+ /**
2956
+ * The PlayStation 5 configuration for the player.
2957
+ */
2958
+ ps5?: PlayStation5Configuration;
2922
2959
  }
2923
2960
  /**
2924
2961
  * The muted autoplay policy of a player.
@@ -10110,6 +10147,8 @@ interface PlayerEventMap {
10110
10147
  segmentrequest_: Event<'segmentrequest_'>;
10111
10148
  /** @internal */
10112
10149
  segmentresponse_: Event<'segmentresponse_'>;
10150
+ /** @internal */
10151
+ manifestnotfound_: Event<'manifestnotfound_'>;
10113
10152
  }
10114
10153
  /**
10115
10154
  * The player API.