0

send UDP from one HTML nodejs BrightSign to another in html5 nodejs

Hi everyone,

I'm trying to send UDP message between two html5 nodejs website on BS. They are connected on ethernet, on the same network, UDP config are set on "All devices on the local subnet" and port 8887.

If I try to send udp from my computer (same code in nodeJs), each BS get the message. But the two BS won't communicate.

Any Idea ?

thanks

1 comment

  • 0
    Avatar
    Chousse

    Ok I found myself the solution :

    client.send('{"url":"medias/video.mp4","index":"intro","mode":"loop","action":"play"}', 8887, '192.168.1.x', (err) => {
        console.log(err)
      });

    if you use Dgram nodejs you have to lose two parameters before the PORT, I don't know why.

Please sign in to leave a comment.