I am trying to control a GoPro Hero 3 camera. I found a library on the Internet: https://github.com/r1pper/GoPro.Hero and from what I read it is a good library. But when I try to create a connection to the camera, my window-making applications completely freeze when my console applications (for the test) just connect. I think this has something to do with async tasks, what am I doing wrong?
This line creates a connection to the camera and sends the command:
var camera = Camera.Create<Hero3Camera>("10.5.5.9");
, HttpRequestMode
GoPro.Hero.Configuration.CommandRequestMode = GoPro.Hero.Configuration.HttpRequestMode.Sync
:
CommandRequest , Create CreateAsync, Task.Wait , ( ), Configuration.CommandRequestMode Sync, SendRequestSynchronous, .
CommandRequest
Create
CreateAsync
Configuration.CommandRequestMode
Source: https://habr.com/ru/post/1531120/More articles:Why does Win32 have no problem with the zombie stream? - c ++openCV java code pass Point object for native code (C ++)? - c ++How to generate API differences report (automatically)? - javaBranding a wpf application - c #How to declare a variable from a scope? - pythonChrome WebSocket - onopen is not a function - google-chromeHow to handle OnBack Click in Android Snippet - androidAsynchronous task inside fragments during screen processing - androidFlexslider navigation not showing up - jquerySDL2 two windows in different streams - c ++All Articles