- Home /
Platform Specific Video
How do I deal with Video Platforms on older devices ?
My problem stems from the fact that a Samsung S4 can only Play HD (1920x1080) footage, and a S5 or S6 can play 2K (2048x1152) footage, but I don't want to have someone download both, especially because the 2K folks don't want 1K footage, and the 1K folks can't use 2K Footage. So each platform has to have its own .obb but how do you deal with that in unity, or in the Google Play store, to make sure the right devices get the right assets ? I've seen solutions for .dll's and that's great but doesn't apply here.
Answer by JamToak · Sep 30, 2015 at 08:46 PM
Im sorry but I don't think thats possible with android.(yet) The only thing you can do is set up a webserver and stream the video or let the 1k folks download the 2k stuff.
The problem is that the platform doesn't play the 2$$anonymous$$ Video, otherwise I'd say, sure you're downloading more data than you need, but hey it's the price of admission.
So if it's not possible to distinguish at the Point of Sale end, can you stream different assets on the playback end, is there a way to get max video resolution playback from the device, and then play back two different files based on what you get back ?
a sort of pseudcode : if (device.maxRes > 1920){ Play(VideoA) } else { Play(VideoB) }
?
Your answer
![](https://koobas.hobune.stream/wayback/20220612035611im_/https://answers.unity.com/themes/thub/images/avi.jpg)