vlc-example-streamplayer icon indicating copy to clipboard operation
vlc-example-streamplayer copied to clipboard

Use vlc on a specific network

Open slobglob opened this issue 5 years ago • 0 comments

Hey,

I'm using this in-app and trying to connect to an RTSP wifi camera whilst being still connected to 4g/cellular network. If I run this by default it doesn't connect to the camera, if I use ConnectivityManager and call mConnectivityManager.bindProcessToNetwork(network); when network is the wifi network of the RTSP camera, I do get the stream but the rest of the app is not working (all transport goes through wifi) while it should use 4g. Any way to use VLC on a specific network? Maybe setting the socket itself, Tried looking into the lib code but ended up on a dead end when reached the JNI calls.

Any help with this? Much appreciated!

Update: Tried to use iface and iface-addr options but no luck for me, should it work?

slobglob avatar Sep 16 '19 08:09 slobglob