Endoscope icon indicating copy to clipboard operation
Endoscope copied to clipboard

Is it possible to stream from phone to laptop?

Open bitflame opened this issue 3 years ago • 3 comments

Hello I want to send traffic to laptop or Internet server from the phone. Is it possible?

bitflame avatar Feb 26 '21 17:02 bitflame

Yes, you can use any player that supports RTSP protocol streaming, such as VLC or MPV.

I use MPV by typing in the console:

mpv rtsp://IP-ADDRESS:PORT --rtsp-transport=udp

For example:

mpv rtsp://192.168.0.20:8086 --rtsp-transport=udp

UsuarioAvanzado avatar Apr 23 '21 21:04 UsuarioAvanzado

This is what the setting looks like in VLC: image

I think this issue could be closed then. BTW: Thanks for the app, it's awesome

tuxflo avatar May 02 '22 10:05 tuxflo

I'm trying to expose my Android device on the internet, to be able to stream the video to my laptop (testing purpose only). It works locally with VLC when my PC is on the same network as my Mobile, if I use the local network address (rtsp://192.168.1.100:8086 for example). On my internet router, I did a NAT rule to forward TCP+UDP on port 8086 to the Android device. The router is publicly available at "myrouter.mydomain.com". But with VLC, it doesnt work if I use the public hostname. It display a black screen, without any particular message. I'm sure the public ports are open and traffic is forwared (I can connect with Curl or Putty), I do not know the RTSP protocol, maybe there is something like the http "host" headers, and the mobile app request the client to connect via an IP address and not a public hostname ?

psa-jforestier avatar Jul 01 '22 12:07 psa-jforestier