-
Notifications
You must be signed in to change notification settings - Fork 1.7k
filter capabilities on number of audio channels #4886
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
base: development
Are you sure you want to change the base?
filter capabilities on number of audio channels #4886
Conversation
…annels., specify whether lfe should be considered in channel count. # Conflicts: # src/streaming/utils/AudioChannelConfiguration.js
| let channels = null; | ||
|
|
||
| if (!audioChannelConfigs && prsl) { | ||
| audioChannelConfigs = prsl[DashConstants.AUDIO_CHANNEL_CONFIGURATION]; |
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
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() )
stschr
left a comment
There was a problem hiding this 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
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.