The intention here is to capture those audio + video bytes from Camera, then optimise with an appropriate Qt class (suggestions welcome) and send them over TCP to a server. The server sends back those bytes to another client to be played. This is how we intend to establish basic VoIP (Voice/Video over Internet Protocol).
Checked many Qt APIs, but couldn't find any which gives a ready made utility for the same. Some of the Qt forums suggest that we should use 3rd party libraries. Other SO Qns, don't address my specific issue.
Don't want to capture those bytes first in a temporary file and then read from there, as it's not efficient compared to getting in-memory bytes.
Questions:
- Are there any APIs available in Qt, which allow the capturing of live streaming bytes?
- If not, then what are the alternatives in C++ for cross platforms?