Is there a way to send data by encoding the data in JSON format using C++? I need to stream video frames and some information about each frame over the network! I tried using sockets but I was unable to synchronize frames and their corresponding information!
-
There's a few JSON libraries for C++. If the problem is more with the socket behavior than the contents of what's being sent over them, some socket stuff might be necessary. As written, this is a somewhat unanswerably broad question because we don't really know exactly what problem you're experiencing.Nathan Pierson– Nathan Pierson2021-02-22 03:18:11 +00:00Commented Feb 22, 2021 at 3:18
-
Seeing that you said "you tried" so you should be able to post a minimal reproducible example to describe the problem you're having.user202729– user2027292021-02-22 03:27:04 +00:00Commented Feb 22, 2021 at 3:27
Add a comment
|