Unsolved Peer to Peer Connection
-
@Pilel
I don't know about your OSI Model's 7 layers! :) But do you just mean they should communicate over sockets, like TCP or UDP? -
Most of the time you face OSI Layer 8 problems :o)
-
@Pl45m4
more explication, please -
@Pilel mqtt or ros is another option for control if no large amount of data is involved..
-
@JoeCFD thanks
I have video streaming in the second node so can MQTT support video streaming -
@Pilel
Hi
Nope MQTT does not work well with live video.So if you need to stream video, it's completely another story than sending some data from sensors.
-
@mrjj thank you
but a camera is a sensor.
and I have some other sensors.
have you a suggestion ?? -
well depends on what you really want to do and what data it is.
for true streaming of a live camera , you can use
https://vlc-qt.tano.si/is the camera is an ip one and the goal is to show LIVE video.
else the network classes @Pl45m4 points to will do a fine job.
-
@Pilel you can also use gstreamer or qtgstreamer to stream video. For other controls(turn on and off, etc.), mqtt can be good.
-
For sending data where bandwidth will not be a problem you can check the simple chat example
For video/audio see the suggestions posted above regarding libvlc/gstreamer