go to network folder and run
go mod tidy
and then Make sure that your computer’s firewall allows incoming traffic on port 8080
sudo ufw allow 8080/tcp
run
cd cmd
go run main.go
ifconfig | grep netmask
also make sure that your router don't have ap isolation
first build the flutter app to apk
flutter build apk
then install the apk on your phone
and insert the ip address of your computer in the ip field like this
eg: http://192.168.1.xxx:8080/vlc
- this is working on ubuntu 22.04 also make sure that the vlc is running on top focused window when the go app running
- also this is working when vlc already running a playlist(because I'm myself is a binge-watching person)
├── network(go app)
│
├── remote(flutter app)