Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add channelcount information on HLS audio tracks #826

Closed
avelad opened this issue May 23, 2017 · 2 comments
Closed

Add channelcount information on HLS audio tracks #826

avelad opened this issue May 23, 2017 · 2 comments
Assignees
Labels
flag: good first issue This might be a relatively easy issue; good for new contributors status: archived Archived and locked; will not be updated type: enhancement New feature or request
Milestone

Comments

@avelad
Copy link
Collaborator

avelad commented May 23, 2017

According to https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.4.1

CHANNELS

The value is a quoted-string that specifies an ordered, "/"-separated list of parameters. If the TYPE attribute is AUDIO then the first parameter is a count of audio channels expressed as a decimal-integer, indicating the maximum number of independent, simultaneous audio channels present in any Media Segment in the Rendition. For example, an AC-3 5.1 rendition would have a CHANNELS="6" attribute. No other CHANNELS parameters are currently defined.

All audio EXT-X-MEDIA tags SHOULD have a CHANNELS attribute. If a Master Playlist contains two renditions encoded with the same codec but a different number of channels, then the CHANNELS attribute is REQUIRED; otherwise it is OPTIONAL.

This issue is related to: #424

Sample:
https://tungsten.aaplimg.com/VOD/bipbop_adv_fmp4_example/master.m3u8
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aud1",LANGUAGE="en",NAME="English",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="a1/prog_index.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aud2",LANGUAGE="en",NAME="English",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="6",URI="a2/prog_index.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aud3",LANGUAGE="en",NAME="English",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="6",URI="a3/prog_index.m3u8"

@ismena
Copy link
Contributor

ismena commented May 23, 2017

@avelad thanks for bringing this up, I think we could definitely add this for hls!
Let me schedule it for 2.2 unless @joeyparrish has objections.

@ismena ismena self-assigned this May 23, 2017
@ismena ismena added this to the v2.2.0 milestone May 23, 2017
@ismena ismena added flag: good first issue This might be a relatively easy issue; good for new contributors type: enhancement New feature or request labels May 23, 2017
@joeyparrish
Copy link
Member

Sounds good to me. And the spec is more clear than the corresponding feature in DASH. :-)

@ismena ismena assigned michellezhuogg and unassigned ismena May 23, 2017
@joeyparrish joeyparrish modified the milestones: v2.2.0, v2.3.0 Jun 6, 2017
@joeyparrish joeyparrish modified the milestones: v2.2.0, v2.3.0 Jul 12, 2017
@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
flag: good first issue This might be a relatively easy issue; good for new contributors status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants