dkrivoruchko / ScreenStream

ScreenStream Android App
https://screenstream.io
MIT License
1.56k stars 320 forks source link

Support for Tesla #187

Closed leelit closed 2 years ago

leelit commented 2 years ago

As the built-in navigation application of Tesla is not good to use, i tried to find some real time screen streaming apps, finally i found this. However it is not work, it is ok for mobile or PC browser, but not for Tesla.

dkrivoruchko commented 2 years ago

Try to connect phone to Tesla wifi and go to the url from the app. If it doesn't open - this is limitation of Tesla wifi

leelit commented 2 years ago

I have tried another screen monitor App called Tesmirror, it worked. I guess Tesla's browser does not suppot MJPEG, so sad~

dkrivoruchko commented 2 years ago

Well ScreenStream has fallback if MJPEG is not supported. The real question - does ScreenStream web page is opens on Tesla?

leelit commented 2 years ago

no, it shows white screen

dkrivoruchko commented 2 years ago

Then this is a Tesla WIFI issue not a ScreenStream. Try to do opposite way - start hot spot on phone and connect Tesla to Phone wifi if it possible

leelit commented 2 years ago

thanks, i will try later

VRtinker commented 2 years ago

Hi @dkrivoruchko @leelit ,

Just wanted to chime in to say that it works perfectly fine on my Tesla Model 3. At least for my Tesla (no doubt this is the case for all the them), there's no such thing as sharing its own LTE connection with other devices (i.e: creating a hotspot).

Creating a mobile hotspot from the phone and connecting the car to the resulting WI-FI network makes it all works (obviously).

If it were an issue of lack of support for MJPEG or the fallback compression on the Tesla browser side of things, the landing page of the server would still have to show anyway.

Either way, it works just fine (and by pairing the phone to the car via Bluetooth as well also the audio can be streamed).

There's absolutely no reason to waste any money on Teslamirror.

This is all on an Android device running OS 9.

My only gripe (totally unrelated to this wonderful app) is that when the car is connected to the phone's WI-FI, it will hog its connection when using the in-car audio streaming services, so with my limited phone data plan, I cannot use the mirroring app and stream music directly from the car at the same time. it would be great if it were possible to have the car connect to the phone for mirroring purposes while keep using its own unlimited LTE data plan to stream any other data (again, I completely understand why this would never be possible unless the mirroring could be achieved via USB and the car were to be able to see the phone as a tethered local server - a man can dream!)

dkrivoruchko commented 2 years ago

Hi @VRtinker thanks for feedback!. You can try to connect Android to Tesla via USB cable and enable USB tethering. This will give a LAN connection from phone to car. Maybe it this way it will use LTE for internet and you will be able to use ScreenStream. Important - Remove checkbox "Use WiFi only" in ScreenStream - Settings - Advanced to let app use all available phone interfaces.

leelit commented 2 years ago

Hi @dkrivoruchko @leelit ,

Just wanted to chime in to say that it works perfectly fine on my Tesla Model 3. At least for my Tesla (no doubt this is the case for all the them), there's no such thing as sharing its own LTE connection with other devices (i.e: creating a hotspot).

Creating a mobile hotspot from the phone and connecting the car to the resulting WI-FI network makes it all works (obviously).

If it were an issue of lack of support for MJPEG or the fallback compression on the Tesla browser side of things, the landing page of the server would still have to show anyway.

Either way, it works just fine (and by pairing the phone to the car via Bluetooth as well also the audio can be streamed).

There's absolutely no reason to waste any money on Teslamirror.

This is all on an Android device running OS 9.

My only gripe (totally unrelated to this wonderful app) is that when the car is connected to the phone's WI-FI, it will hog its connection when using the in-car audio streaming services, so with my limited phone data plan, I cannot use the mirroring app and stream music directly from the car at the same time. it would be great if it were possible to have the car connect to the phone for mirroring purposes while keep using its own unlimited LTE data plan to stream any other data (again, I completely understand why this would never be possible unless the mirroring could be achieved via USB and

leelit commented 2 years ago

@VRtinker thanks a lot!

i am very happy to hear that i works fine for you.

i think it will works for me too after OTA

kpelckmans commented 2 years ago

My understanding is that Tesla blocks all of the normal private LAN segment IP address range. I suspect @VRtinker is running the screen stream on the public IP address of his phone.

TeslaMirror circumvents this limitation by setting up a local VPN to avoid using an IP address range that is blocked by Tesla. For instance http://3.3.3.3:3333.

I am wondering what would be the most efficient way to this up with ScreenStream.

dkrivoruchko commented 2 years ago

Well, ScreenStream use any IP address phone has. So if you got real IP on LTE or WiFi, or any other network interface - you can use it. But keep in mind that by default only WiFi is used.: Remove checkbox "Use WiFi only" in ScreenStream - Settings - Advanced to let app use all available phone interfaces. And one more thing - traffic over LTE may cost you some money, and delays are generally bigger.