Codec type indication for Dolby Atmos content

For HTTP Live Streaming streams containing Dolby Digital Plus tracks with Dolby Atmos content, the CODEC attribute of the EXT-X-STREAM-INF parameter contains a value of ec-3 for indication of the audio codec. In addition, a CHANNELS attribute is included in the #EXT-X-MEDIA parameter.

The value of the CHANNELS attribute is the number of decodable objects followed by a slash (/) and then JOC. JOC is the audio coding identifier for a Dolby Digital Plus bitstream with joint object coding data. The number of decodable objects is the decimal representation of the eight-bit bit field for complexity_index_type_a in the EC3SpecificBox of a Dolby Digital Plus audio track.

For example, for a media presentation containing a Dolby Digital Plus bitstream with Dolby Atmos content, the CHANNELS attribute of the #EXT-X-MEDIA parameter is set as follows:

#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="ATMOS",LANGUAGE="eng",
NAME="ATMOS Track",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="16/JOC",
URI="../../DDP/ChID_voices_6ch_256kbps_ddp_sub.m3u8"