Skip to content

Conversation

@gmcgarry
Copy link
Contributor

Introduces the streaming.capabilities.filterAudioChannelConfiguration settings parameter to specify that the channels property should be populated during the MediaCapabilities queries.

{
        "type": "media-source",
        "audio": {
                "contentType": "audio/mp4; codecs=\"mp4a.40.42\"",
                "sampleRate": 48000,
                "channels": 2
        }
}

With this change it's possible to query whether a multichannel or stereo decoder is available.

@dsilhavy dsilhavy self-requested a review November 11, 2025 08:32
@dsilhavy dsilhavy added this to the 5.1.1 milestone Nov 11, 2025
@dsilhavy dsilhavy requested a review from stschr November 11, 2025 08:32
let channels = null;

if (!audioChannelConfigs && prsl) {
audioChannelConfigs = prsl[DashConstants.AUDIO_CHANNEL_CONFIGURATION];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO this might fail if neither representation nor prsl contain an AudioChannelConfig.

},
{
id: '11',
preselectionComponents: '1 2',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we convert this to a Preselection with only one component?

Background: Up to now, we do not support "MRMP" (=multi-representation) and this preselection gets removed regardless of all other properties (see: _removeMultiRepresentationPreselections() gets called by filterUnsupportedFeatures() )

Copy link
Contributor

@stschr stschr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few comment in code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants