DarkArius / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

NewFrame event doesn't fire after stop and start again in Windows service #396

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create windows service project
2. Use attached library
3. Create communication with service (WCF in my case)
4. Build project, start service, start camera
4. Stop camera by WCF
5. Start camera again by WCF
6. Check NewFrame event

What is the expected output? What do you see instead?
NewFrame will fire again.

What version of the product are you using?
2.2.5

Please provide any additional information below.

Original issue reported on code.google.com by ja.sebas...@gmail.com on 2 Feb 2015 at 10:30

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Here is sample solution with problem. This solution is simplified, basically 
after install and start service in Debug(Release) directory should be 2 
pictures - one before stop and start camera and second after; but second image 
will not never captured - reported bug.
Solution just build and read Install.txt.

http://1drv.ms/1CpjfIh (host on OneDrive)

Original comment by ja.sebas...@gmail.com on 2 Feb 2015 at 12:18

GoogleCodeExporter commented 8 years ago
Btw, I use Microsoft camera and in this sample I'm looking for camera with 
string "Microsoft" in name, so if you have different camera change camera in 
KioskCamera constructor.

Original comment by ja.sebas...@gmail.com on 2 Feb 2015 at 1:32

GoogleCodeExporter commented 8 years ago
The framework was never tested officially anywhere except Windows Forms and 
Console applications. So when it comes to WPF, Windows Services, Unity, 
Android/iPhone, etc. then you are on your own.

So test the issue in WinForms. If it is reproducible there, then it is a valid 
issue. If not, then no.

Original comment by andrew.k...@gmail.com on 9 Feb 2015 at 3:18