turingmachine / omxplayer-sync

OMXPlayer-Sync facilitates synchronization of multiple OMXPlayer instances over the network in a master/slave fashion.
194 stars 70 forks source link

Networking Woes #86

Closed paulduchesne closed 5 years ago

paulduchesne commented 5 years ago

Hello all, looking for some networking advice from someone who has got this up, or recognises the situation I am describing.

I've been crawling through passed raised issues without much luck.

My setup is 3x Raspi 3B+ with fresh copies of lastest Stretch (2018-11-13-raspbian-stretch.img), all connected via RJ45 to a Netgear GS108 gigabit switch.

I set up static IPs exactly following the advice from @barlaensdoonn on issue #54, and have expected ip ping, ssh, etc between all devices over ethernet (wifi off).

The o-sync installation follows @Mediensysteme excellent instructions at the end of issue #80.

At this point I can sync all three okay over wifi. but the sync can be erratic - obviously ethernet is the way to go!

However if I turn off my wifi I get omxplayer-sync no longer playing ball, master throws "no connect" and slaves just hang, so obviously no timecode getting through, yet I can still ssh, ping, etc.

So what am I missing here?

Thanks to those responsible for putting this code together by the way, it is such a great concept.

paulduchesne commented 5 years ago

bit embarrassing but I just solved this super easily, I removed all the static IP definitions, checked the broadcast output of ifconfig and subbed that in as a 'destination', ie omxplayer-sync -m -x 169.254.255.255 synctest.mp4 and now it works like a charm.

I will leave this up though in case it benefits anyone else.