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
Fix: changeType() is Not Fully Implemented on Sony PS5 #4149
Fix: changeType() is Not Fully Implemented on Sony PS5 #4149
Conversation
Check useChangeTypeForTrackSwitch flag first
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.
The StreamController seems to just rely on whether the browser supports the changeType property instead of using this configuration. Perhaps we should add this config check there too to ensure consistency thoughout the dash.js code? I think just because the browser supports the changeType function, does not necessarily mean it works properly with the video pipeline of the device.
if (keys.length > 0 && sinks[keys[0]].getBuffer().changeType) { |
adding this config check there too to ensure consistency throughout the dash.js code
@vodlogic Yes agree. Added config check in StreamController as well. |
@agajassi @vodlogic : I think we should move the settings check to
That way we clearly separate settings from capabilities. We also still apply the changeType transition if the user/app changes the setting after |
@agajassi Did you find the time to check my comment yet? |
|
moving settings check to _canSourceBuffersBeReused
I moved settings check from |
Fixes issue/4148 by offering client an option to use
useChangeTypeForTrackSwitch
flag to avoid errors involving changeType() not being supported on certain platforms.