You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Xbox, when using SourceBuffer.changeType to pass a new h264 codec profile, an error is always thrown mentioning the codec is not supported:
Failed to execute 'changeType' on 'SourceBuffer': Changing to the type provided ('video/mp4; codecs="avc1.xxx"') is not supported.
This does occur on Xbox using WebView2 with Edge v130, but cannot be reproduced when using a Chrome or Edge browser, or WebView2 with Edge v131 on a desktop.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
WinUI2/UWP
Operating System
Xbox
OS Version
No response
Repro steps
When running this script. Any h264 codec profile being passed on changeType fails:
if (window.MediaSource) {
logMessage('Media Source Extensions are supported.');
const video = document.getElementById('video');
const mediaSource = new MediaSource();
video.src = URL.createObjectURL(mediaSource);
mediaSource.addEventListener('sourceopen', () => {
logMessage('MediaSource is open.');
try {
const sourceBuffer = mediaSource.addSourceBuffer('video/mp4; codecs="avc1.4d0028"');
logMessage('SourceBuffer created with initial type: avc1.4d0028.');
sourceBuffer.changeType('video/mp4; codecs="avc1.4d001f"');
logMessage('SourceBuffer type changed to: avc1.4d001f.');
} catch (error) {
logMessage(`Error changing SourceBuffer type: ${error.message}`);
}
});
} else {
logMessage('Media Source Extensions are not supported in this browser.');
}
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered:
What happened?
On Xbox, when using
SourceBuffer.changeType
to pass a new h264 codec profile, an error is always thrown mentioning the codec is not supported:This does occur on Xbox using WebView2 with Edge v130, but cannot be reproduced when using a Chrome or Edge browser, or WebView2 with Edge v131 on a desktop.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
No response
SDK Version
No response
Framework
WinUI2/UWP
Operating System
Xbox
OS Version
No response
Repro steps
When running this script. Any h264 codec profile being passed on
changeType
fails:Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
Don't know
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: