i want to share audio over network so that i can use my tv as a wireless speaker. so i chose obs studio to make a stream out of my system audio coz i had it installed already. i went to settings -> output (advanced) -> recording (custom)
and set ffmpeg output
to output to url
and set the url to udp://192.168.43.87:8081
and set container format
to mp3
just to get started. so to test things out i ran mpv udp://192.168.43.87:8081
on the same machine and it plays audio. but when i tried accessing it from my android phone with mpv client, it doesnt play the audio, it just shows black screen for while and return to main menu of mpv app. thanks in advance.
edit
iptables:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere
ACCEPT udp -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Do you have a firewall on
192.168.43.87
that may be blocking external connections?no. i added a rule to allow all udp connection but still no luck