Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to stream from phone to laptop? #37

Open
bitflame opened this issue Feb 26, 2021 · 3 comments
Open

Is it possible to stream from phone to laptop? #37

bitflame opened this issue Feb 26, 2021 · 3 comments

Comments

@bitflame
Copy link

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

@UsuarioAvanzado
Copy link

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

@tuxflo
Copy link

tuxflo commented May 2, 2022

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

@psa-jforestier
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants