-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPCamDriver with Android IP WebCam app #607
Comments
No, much better. It is getting stuck every 5 secs. Some timer running? |
@sarxos Do you remember, when I asked you, if it is possible to access the buffered image as like with an ordinary cam? I think to remember, you have confirmed that. But it doesn't work:
This is the response to
Pointer welcome |
Disregard. Found alternatives |
Hi @neilyoung, Yes I remember this discussion and indeed I confirmed this to be possible. Obviously I was wrong :( Sorry for misleading you. Will fix this. |
@sarxos No prob. Found an older post here which suggested to patch IPCamDriver. Did that. Works |
@neilyoung Cool :) Before I read your last comment I did this as well, but the change is not tested. You may take a look and decide which one performs better. I did not test this in any way so it can be laggy or not working. In this case I'm open for suggestions and/or pull requests. |
@sarxos Well, my "solution" is a bit different. I was not going the detour via the image again, but using the "frame" byte[] produced earlier. This incorporates more changes, though |
@neilyoung, but isn't the frame a Line 97 in abaf107
The Or are you maybe referring to Line 101 in abaf107
But in this case you have to note that this |
@sarxos I see. You are right. Will switch to your solution. Thanks |
@sarxos OK, works fine. When do you plan to publish it? |
@neilyoung I can roll SNAPSHOT right now. |
I just deployed SNAPSHOT to Sonatype Maven repository. This is repository to add into POM: <repository>
<id>Sonatype OSS Snapshot Repository</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</repository> And dependency: <dependency>
<groupId>com.github.sarxos</groupId>
<artifactId>webcam-capture-driver-ipcam</artifactId>
<version>0.3.12-SNAPSHOT</version>
</dependency> If you do not use Maven but manage your JARs manually then please let me know. I will zip required files and put them here. |
@sarxos I see all the capture drivers there, but I don't see a webcam-capture snapshot. |
@neilyoung Oh, there is (webcam-capture-0.3.12-20180116.162525-8.jar): |
@neilyoung Here are all required JARs: target.zip |
Hmm. ok. seems to be not used by Intellij Thanks for the zip... Will use that. |
@sarxos Problem is, that a coworker is also depending on it and I would rather like to let him do the Maven stuff instead of asking him to replace two JARs... .Would be great if there could be an official 0.3.12 asap |
Hi @neilyoung, I spent whole yesterday's evening working on this, but finally, after several failed attempts, I was able to roll new official release, that is the 0.3.12. 🎉 The artifacts I deployed yesterday are available already in Maven Central: And the ZIP bundles are available from my private repository: |
@sarxos Wow, you are my hero. Thanks for your patience with this project. Very much appreciated. |
@neilyoung The pleasure is mine :) Feel free to open new issue in case of further problems or questions. I'm closing this one. |
Works - kind of.
The frame rate is decent, pretty good. Usually I'm having about 25 "debug repaints" per second (is this kind of "fps"?)
EDIT: Delay very, very small. Great
But sometimes the image stutters for several ms. That time the debug display shows "200 debug repaints" or so, a big number.
The original browser based app doesn't have that problem. Any chance to approach?
EDIT: It is stuck, if the scene is changing quickly. Maybe a clue.
Regards
The text was updated successfully, but these errors were encountered: