0

Master-Client Sync Issues

Hi everybody

I am trying to sync two Panasonic LCD beamers through BrightSign Players (HD223, v6.2.33). Somehow, I am not able to make it work... Here I show you the autorun scripts, let's see if someone has some ideas what could I be doing wrong:

Master:

debug = false
EnableZoneSupport(true)

videoFile1 = “walkL_2.mp4”

REM
REM Setting Manual IP address
nc = CreateObject("roNetworkConfiguration", 0)
nc.SetIP4Address("192.168.1.10")
nc.SetIP4Netmask("255.255.255.0")
nc.SetIP4Broadcast("192.168.1.255")
nc.SetIP4Gateway("192.168.1.1")
nc.Apply()

REM
REM IP address 255.255.255.255 sends to all units
sender = CreateObject("roDatagramSender")
sender.SetDestination("255.255.255.255", 11167)

v = CreateObject("roVideoPlayer")

p = CreateObject("roMessagePort")
v.SetPort(p)

mode=CreateObject("roVideoMode")
mode.SetMode("1920x1080x25p")

sleep(10000)

start:
print "start"
sender.Send("pre")
v.PreloadFile(videoFile1)
sleep(100)
sender.Send("ply")


v.Play()


listen:
msg = wait(2000,p)

if type(msg) = "roVideoEvent" and msg.GetInt() = 8 then
sleep(1000)
goto start
endif

goto listen

 

Client:

EnableZoneSupport(true)

videoFile1 = “walkR_2.mp4”

mode=CreateObject("roVideoMode")
mode.SetMode("1920x1080x25p")

REM
REM Setting Manual IP address
REM To use DHCP, add REM before each of the nc.SetIP* lines below.
REM If you have already run the script, also remove REM from the
REM nc.SetDHCP() line below to change from manual IP back

nc = CreateObject("roNetworkConfiguration", 0)
REM nc.SetDHCP() 'to change from Manual IP back to DHCP

nc.SetIP4Address("192.168.1.11")
nc.SetIP4Netmask("255.255.255.0")
nc.SetIP4Broadcast("192.168.1.255")
nc.SetIP4Gateway("192.168.1.1")
nc.Apply()

receiver = CreateObject("roDatagramReceiver", 11167)

v = CreateObject("roVideoPlayer")
sleep(200)

v.PreloadFile(videoFile1)

p = CreateObject("roMessagePort")

receiver.SetPort(p)

listen:
msg = wait(2000,p)

if type(msg) = "roDatagramEvent" then

command = left(msg, 3)

if command = "pre" then
v.PreloadFile(videoFile1)
elseif command = "ply" then
v.Play()
else
print msg
endif

endif

goto listen

 

I coded the videos as expected and modified the lines in the scripts as expected (file name and IP address). But all I get is the beamers in the HDMI 1 blank screen. 

I hope somebody has some clues...... Thanks a lot in advance!

Best

Elia

1 comment

  • 0
    Avatar
    Lyndon

    what do you mean all you get is the beamers? The master should play even if they're out of sync. if the video isn't playing, then that's usually an encoding issue.can you try this test with content downloaded from one of our demos. 

Please sign in to leave a comment.