C
C#2y ago
Nurglini

❔ Live USB/Wireless Video Access Help

Hi there! I'm trying to learn how to work with Serial Communications or some other method like Bluetooth to access data from an external device, but have hit a wall in searching for what methods would allow me to do this. Currently I'd like to try making a program that would function similarly to how Discord is able to screen-share mobile devices, but instead directly to its own window on the desktop device it connects to. I'd appreciate recommendations of good resources for learning video transmission in ways such as this, or just general advice for approaching this.
2 Replies
Ang619
Ang6192y ago
I am a beginner myself, so take my answer with caution. Basically a video are many frames (pictures) per second. You could send this pictures through the Sockets via TCP Stream. Something like Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); You could then send it in a Loop something like
while(true){
code...
socket.SendAsync(...)}
while(true){
code...
socket.SendAsync(...)}
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server