question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

com.github.sarxos.webcam.WebcamDiscoveryService - Discovery will not run - driver MyCompositeDriver does not support this feature

See original GitHub issue

When I replace webcam-capture-0.3.10-RC7.jar to 0.3.11-SNAPSHOT.jar I noticed that changed something:

class MyCompositeDriver extends WebcamCompositeDriver {
    public MyCompositeDriver() {
        // add(new WebcamDefaultDriver()); // usb cam 
        add(new IpCamDriver()); // ipcam 
    }
}

In version webcam-capture-0.3.11-SNAPSHOT.jar occur this message:

INFO com.github.sarxos.webcam.WebcamDiscoveryService - Discovery will not run - driver MyCompositeDriver does not support this feature

I kept the version the driver web-ipcam: 0.3.10-RC7

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kamenomagiccommented, Nov 3, 2017

That worked for the snapshot, and it looks like it’s working as expected for discovery of webcams. Thanks so much!

0reactions
sarxoscommented, Nov 3, 2017

@kamenomagic, this snapshot version is available from the Sonatype snapshot repository (as described on the project main page). To make it work you would have to add this repository into your Maven’s POM file:

<repository>
	<id>Sonatype OSS Snapshot Repository</id>
	<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</repository>

It can be added to Gradle as well, probably (since I do not use Gradle in any of my projects):

repositories {
  maven { url "http://oss.sonatype.org/content/repositories/snapshots" }
  mavenCentral()
}

Note: I’m not very familiar with Gradle and this snipped may be incorrect. Please verify it with some reliable Gradle source of information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Join discovery thread when driver does not support ... - GitHub
But in case if capture driver does not support discovery it could be either: Not started at all, or,; Joined right after it...
Read more >
Not running in eclipse? · Issue #374 · sarxos/webcam-capture
Webcam - WebcamDefaultDriver capture driver will be used Exception in thread "main" com.github.sarxos.webcam.
Read more >
I get the following error in WebcamDiscoveryService ... - GitHub
Webcam - WebcamDefaultDriver capture driver will be used ... WebcamException: Cannot execute task at com.github.sarxos.webcam.
Read more >
WebcamPanelExample.java does not open anything #224
I am trying to run WebcamPanelExample.java but it does not do anything ... driver will be used 21:23:35.337 [webcam-discovery-service] DEBUG ...
Read more >
webcam-capture/WebcamDiscoveryService.java at master
The goal of this project is to allow integrated or USB-connected webcams to be ... /src/main/java/com/github/sarxos/webcam/WebcamDiscoveryService.java.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found