5 ms·
I'm pretty sure there have been better ways to do that for many years now, e.g. the media capabilities API. Hanlon's razor is tricky to apply with Microsoft, th
by alxlaz 4y ago
I'm pretty sure there have been better ways to do that for many years now, e.g. the media capabilities API. Hanlon's razor is tricky to apply with Microsoft, they have a bit of an, erm, history with these things.
- Cthulhu_ 4y agoI was going to ask, isn't there some information exchange going on to determine what codecs can be used?
- danpalmer 4y agoOf course. This is a poor implementation however you look at it, but rather than being malicious targeting of Linux users to give them a poor experience, it's probably to do with available codecs.
- Max-q 4y agoIf you read the thread, you will see that it’s not the case. Just change user agent in the Linux browser and it works — with nice resolution.
- alxlaz 4y agoThat's because the person on the original thread has the non-free codecs installed and whatnot. @danpalmer is right to point out that their availability is not something you can rely on. Although this is definitely the wrong way to check it. I'm not sure Microsoft is deliberately making things worse for Linux users, either, but the fact that a better implementation is both possible and straightforward enough suggests that cross-platform performance is not quite the priority that marketing materials make it out to be. We're not talking rocket science here. If this is indeed not specifically about Linux, then either Xbox Cloud's code review practices are at best questionable, or the paradigm that best describes their approach to client-side performance is #yolo.
- lloeki 4y agoWhat would be the motive? Forcing Linux users to buy a Xbox or a Windows license? I don't quite buy that: it's such a small market that I venture they'd rather have people be able to play at all via Xcloud and sell a Game Pass Ultimate subscription. Also remember that Xcloud is still beta, with a feedback form after every session, and probably some telemetry. While it would technically not be rocket science to detect codecs, I'm more inclined to think that this is a blanket denylist because enough reports have come up and showed that using better codecs/higher quality produced a subpar experience even though codecs are reported as supported (which might come from a zillion reasons such as codecs falling back to software decoding, or underpowered hardware, and both could be true for PC, Chromebooks, and Android).
- danpalmer 4y agoI did read the thread, and as the other commenter has suggested, most users do install non-free codecs which is why this works, but also why Microsoft may have used the user agent as an indicator.
- pdpi 4y agoMicrosoft isn't a monolithic entity. Over the last several years, the Xbox division has built a history of playing well with others, so I'm willing to give them specifically the benefit of the doubt. (developer tools has me cautiously optimistic, Windows division can still sod off)
- kuschku 4y agoConsidering them trying to force users over to the Windows-exclusive Minecraft edition, I’d be wary of that division too. If the rumors about timed exclusives for the new Bethesda games are true, too, they’ll have lost all goodwill.
- sk0g 4y agoMeanwhile Nintendo never releases their games on other platforms, and Sony pays off external studios for timed and permanent exclusives, while sometimes releasing internal ones on PC years later. Who exactly are they losing goodwill from?
- kadoban 4y ago> Meanwhile Nintendo never releases their games on other platforms, and Sony pays off external studios for timed and permanent exclusives, while sometimes releasing internal ones on PC years later. "X sucks too!" is very rarely any kind of a defense at all. What does that have to do with Microsoft's behavior? If you excuse bad behavior because there's a WhatAbout distraction, no criticism of anything will ever be valid.
- sk0g 4y agoI'm comparing to consoles because that's their competition. They see PC as an additional platform that they also release to, and exclusives refer to console platforms, not PC.
- kuschku 4y agoYou’re just comparing between consoles. But Microsoft’s Xbox division has been eating up marketshare in PC gaming as well, having replaced Windows Live Games and similar projects. And they’ve bought up a lot of game studios as well. This behavior is normal in the console market, but not common in the PC market at all.
- can16358p 4y agoPlausible deniability. They will simply cover up their shady practices by saying "it was for codec checking" whereas they are also crippling the experience for Linux users. Given that there are some very talented programmers out there who know what they are exactly doing, it's hard to believe that it's incompetence.
- moron4hire 4y agoYou basically need to be an expert on media encodings to know how to use the Media Capabilities API. Random Web Front End Developer is not frequently going to be that person. And Person Who Managed All The Media Encodings is probably not likely to be working on the web front end. Most likely scenario is the front end dev will get a chunk of JSON from the media encoding dev describing the media, and then be left to their own devices to figure out how to translate that into something the Media Capabilities API will understand. Consistent results across browsers is also really difficult to achieve. Chrome in particular is super pedantic about the content type field. Firefox sometimes ignores parts of the content type field. It's nuts.
- BeefWellington 4y agoSorry, you're suggesting that Microsoft's cloud gaming division doesn't employ people familiar with media APIs in web browsers? It's an especially awful argument when switching the user-agent makes the problem disappear. "Forgive the multi-billion dollar conglomerate with a vested interest in user capture; they probably just don't employ the proper people" is a very weak argument on something like this.
- moron4hire 4y agoBetween how difficult the Media Capabilities API is to use correctly and the fact that no corporation is the superman you seen to be ascribing to Microsoft, yes, that's exactly what I'm suggesting.
- smoldesu 4y ago> Sorry, you're suggesting that Microsoft's cloud gaming division doesn't employ people familiar with media APIs in web browsers? I mean, Apple makes even more money than MS, and they don't seem to know the first thing about online media codecs and cross-platform API sniffing. So... yes? Even as someone who uses Linux as their daily-driver, there's pretty much no way for me to get mad at Microsoft for what's pretty obviously a mistake (and not even a serious one at that). Microsoft is a hostile company, but that's not a reason to make their molehills into mountains for them. I seriously doubt a any of the outraged commentors on this page are typing their comment from a real Linux box anyways. They're more incensed by the opportunity to hate Microsoft than they are by the actual problem.
- moron4hire 4y agoThe media capabilities API is basically useless. You have to query each format you support individually (with very specific details like resolution and bitrates, so you'll have to have all that data stored in a database that gets queried before attempting playback) and it's response is usually "everything is supported, nothing is smooth or power efficient". EDIT: Forgot to mention, you need to know what the exact content type is for your media, both container and codec. With video, you also need to check the audio at the same time. And there isn't any documentation on the exact format that it's expecting. It's a gigantic mess. You can't just give it a media stream and ask it "can you play this". It's often easier to just attempt to play the media and wait to see if it errors (which it can still do after even a few frames of playback succeed).