<?xml version="1.0" encoding="utf-8"?>
<Client name="Firefox">
  <!-- Author: Plex Inc. -->
  <TranscodeTargets>
    <VideoProfile protocol="dash" container="mp4" codec="h264" audioCodec="aac" context="streaming">
      <Setting name="ForceTranscodesForLive" value="true" />
      <!-- <Setting name="BreakNonKeyframes" value="true" /> -->
    </VideoProfile>
    <VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac,mp3" context="streaming" />
    <MusicProfile container="mp3" codec="mp3" />
    <PhotoProfile container="jpeg" />
    <SubtitleProfile container="ass" codec="ass" context="all" />
  </TranscodeTargets>
  <CodecProfiles>
    <VideoCodec name="*">
      <Limitations>
        <UpperBound name="video.bitDepth" value="8" />
      </Limitations>
    </VideoCodec>
    <VideoAudioCodec name="*">
      <Limitations>
        <!--
          Firefox has downmixing issues
          See: https://bugzilla.mozilla.org/show_bug.cgi?id=1151374#c3
        -->
        <UpperBound name="audio.channels" value="2" />
      </Limitations>
    </VideoAudioCodec>
  </CodecProfiles>
</Client>
