THEOplayer Web SDK
    Preparing search index...

    Interface PlayStation5Configuration

    Describes the configuration that is specific for playback on Sony PlayStation® 5.

    interface PlayStation5Configuration {
        passThrough?: boolean;
        playMode?: PlayStation5PlayMode;
    }
    Index

    Properties

    passThrough?: boolean

    Indicates if audio pass-through is enabled.

    In pass-through mode, the PlayStation® 5 will forward the compressed audio as-is to the A/V receiver for playback.

    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, this value must be set to false, so the PlayStation® can decompress and mix the audio before sending it to the A/V receiver.

    Default: true

    Used to define hardware resources when playing multiple videos at the same time. The PlayStation® 5 supports playing a single video up to 4K at 60fps, or two videos with a combined resolution up to 4K at 30fps.

    • When playing a single video, this can be omitted (or set to '4K').
    • 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 set to '2K'.
    • When playing three or more videos, this must be set to '2K'.

    Default: '4K'