MyrikLD / LinusTrinus

TrinusVR streaming server for Linux
128 stars 16 forks source link

Super fast video streaming from pc to Android #50

Open santiago-medina opened 1 year ago

santiago-medina commented 1 year ago

Hi people first let me congratulate you for your awesome work.

I've recently bought an "USB capture card" , price was 18€, that allows direct streaming to my Redmi note 8 Android phone with almost imperceptible lag. I'm wondering if you could implement a flag or something to substitute the current image transfer implementation with the UVC protocol which has native support since Android 9 as it would serve the same purpose but on the other hand would be blazingly fast. I'm linking to a sample UVC app repo, which by the way already has a cardboard VR option, in the hopes that you'll find the code more or less straightforward to implement.

I know there will be a bit of work but, you know, it would be totally awesome to run your software at that speed without being limited by the available CPU/GPU.

I guess the approach would be sending motion through wifi or using a USB splitter.

Link to video capture device https://www.amazon.es/maravillosa-videograbadora-televisi%C3%B3n-adaptador-conmutador/dp/B093D6824V/ref=asc_df_B093D6824V/?tag=googshopes-21&linkCode=df0&hvadid=529579818604&hvpos=&hvnetw=g&hvrand=762915535207147397&hvpone=&hvptwo=&hvqmt=&hvdev=m&hvdvcmdl=&hvlocint=&hvlocphy=20296&hvtargid=pla-1461033740056&psc=1

Sample UVC android app repo: https://github.com/Peter-St/Android-UVC-Camera

Keep up with the excellent work! Thanks